2,826

(5 replies, posted in Reporting)

The parameter sticky_doc_date is stored in the sys_prefs table on a per company basis in FA 2.4.x and is set in the Preferences page at admin/display_prefs.php and is by default disabled (0). The function sticky_doc_date() in the class user shows the current session user's preference from function sticky_date() which reads the property $sticky_date in includes/prefs/userprefs.inc file.

2,827

(5 replies, posted in Reporting)

If these string are in the drop down box, then the start and end values will need to get allotted in the code by a js that dynamically sets those fields accordingly. The latter way will ensure no change to the real php processing codebase.

2,828

(154 replies, posted in Modules Add-on's)

The file I posted is the same as the one in the zip which had other changed files as well.

It appears you may have some browser cache issue - what browser and version did you now text on? As InnoDB tables are being used, some some tables having an auto_increment field will need to reset their auto_increment values after an insert depending on your version of MySQL (?) and PHP (?).

Credits (and brickbats wink too) for the latest code for this module goes to @braathwaate on Github.

2,829

(5 replies, posted in Setup)

Yes.

2,830

(154 replies, posted in Modules Add-on's)

Looks like you will have to overwrite all your import_transaction module files. Take it from the attachment.

2,831

(4 replies, posted in Installation)

Maybe it is time the array $db_connections in config_db.php now has a new element dbport implemented in create/edit/list new company and in the connect files.

2,832

(154 replies, posted in Modules Add-on's)

You may not have applied the correct version of import_transactions/import_transactions.php.  Lines 63 to 68 of the said file should be:

all_delete($yes = false);
$js = "";
if ($SysPrefs->use_popup_windows) 
    $js .= get_js_open_window(800, 500);
$help_context = "Import General Journals  / Deposits / Payments / Bank Statements / Sales Orders / Sales Invoices  <a href='spreadsheet_headers.html'>Help: Formats</a>";
page(_($help_context), false, false, "", $js);

All modules must be unzipped into the <FA_WebRoot>/modules/ folder to be usable. When installed and activated, they must find an entry in the relevant installed_extensions.php files.

Clear the browser cache and try anew.

2,833

(1 replies, posted in Banking and General Ledger)

GNR: Goods Not Received.

When you make a Purchase Order and the Supplier makes delivery and has short delivered, this situation arises.

2,834

(3 replies, posted in FA Modifications)

FrontAccounting is a copyright of this project's developers. It is advisable to register a domain that represents ecommerce, online accounting, etc and state that you support and host FrontAccounting. That way you will be able to represent a host of applications and integrate them together as well, say, like a Point of Sale (Open Source POS), osCommerce, etc. Your team can also fork the FA project on GitHub and then either send back pull requests or take a completely different development path. FrontAccounting itself is an early fork of the WebERP project.

There is ofcourse nothing to officially prevent you from registering a domain like frontaccounting.ph but it would be nice if you redirect users seamlessly back to frontaccounting.com - that way the Phillipino FA community will remain integrated with their world wide counterparts. You may also choose to provide a localised translation of frontaccounting.com in your frontaccounting.ph domain to enable easy adoption of FA in your country. Cybersquatters too will soon try to register such domains in their country extensions and mislead new users.

2,835

(1 replies, posted in Setup)

The installer needs to be modified to accommodate MariaDB.

You can ignore the Database Server Type in this case.

The corrections will need to be done in includes/system_tests.inc.

2,836

(1 replies, posted in Items and Inventory)

This is not available in standard FA. Edit location drop down box in sales/sales_order_entry.php file for hard-coded usage.

2,837

(3 replies, posted in FA Modifications)

Thankyou for your interest in FA and expect you have sufficient accounting knowledge to see your business through. All you want to know about FA is in the Wiki which has links to video tutorials and code repos. If you wish to customise  FA to suit the Phillipine market, then you should learn PHP or have a team that supports the PHP programming language.

There is currently no Phillipine language translation for FA available. You can contribute one by taking the empty.po file and translating the empty strings.

There is a Phillipino Chart of Accounts (updated today for FA 2.4.1) to start you off with though I do not see anything Phillipine about it as of now.

2,838

(8 replies, posted in Accounts Payable)

If you want to turn off this warning, then in your config.php file, set the variable:

    $check_price_charged_vs_order_price = false;

The function over_charge_allowance() (in the file includes/prefs/sysprefs.inc) returns the margin (default = 10%) using the per company variable po_over_charge in the sys_prefs table.

2,839

(27 replies, posted in Banking and General Ledger)

What is the exchange rate employed?

2,840

(7 replies, posted in Report Bugs here)

The sql in the function getTaxTransactions in rep709.php is responsible for the line entries under investigation. Try to debug the actual sql string and it's output on execution in the database and see what went wrong.

2,841

(7 replies, posted in Report Bugs here)

The new tab/new window option is a browser setting. "Open link in New Tab" or "Open Link in New Window".

Expect you are not using the code change I suggested as it errors out.

2,842

(7 replies, posted in Report Bugs here)

Are you using a customised Tax Report - reporting/rep709.php ?
The standard one used in FA 2.4.1+ is attached.

The Exempt line is there to show that there has been some inputs that bear no tax.

If you want the old behaviour, then make the line 106 in the said report file:

    $taxes[0] = array('in'=>0, 'out'=>0, 'taxin'=>0, 'taxout'=>0);

to revert to:

    $taxes = array();

Wonder what it would affect.

@joe: ?

2,843

(9 replies, posted in Report Bugs here)

I trust you have restarted your webserver after changes to php.ini and apache conf files.
Hope you have table prefixes for your FA tables. Otherwise, all tables in your database will be attempted to be backedup and it will cause a sever resource issue.
Purge the FA cache in the company folders:

FA 2.3
company/#/js_cache/*.js

FA 2.4
company/#/js_cache/%/*.js

2,844

(154 replies, posted in Modules Add-on's)

Those using FA 2.4.1+ please provide feedback on the latest import_transactions module in the unofficial GitHub FA 2.4 extensions  repo - this is a "fixed" version of the pkg in the official repo. This contains the mods / fixes by @braathwaate cleaned up for whitespace and spaced indentations.

The import_items module has been updated for FA 2.4.x in my unofficial GitHub repo. All users are requested to use it and provide feedback.

2,846

(9 replies, posted in Announcements)

The config.php file's English wiki page has been updated for FA 2.4.x and the old one for FA 2.3.x archived. The various language translators of the wiki are advised to update them as well.

2,847

(9 replies, posted in Report Bugs here)

max_execution_time = 120
post_max_size = 8M
upload_max_filesize = 32M

Apache conf file:
http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody

If, for example, you are permitting file upload to a particular location and wish to limit the size of the uploaded file to 100K, you might use the following directive:

LimitRequestBody 102400

Other defaults hardcoded in FA are in the Wiki. In particular, refer the lines 562-566 in function db_export() in admin/db/maintenance_db.inc:

    // set max string size before writing to file
    $max_size = 1048576 * 2; // 2 MB
    // changes max size if value can be retrieved
    if (ini_get("memory_limit"))
        $max_size = 900000 * ini_get("memory_limit");

2,848

(8 replies, posted in Accounts Payable)

Which version of FA are you using - v2.3.x or v2.4.x?
What is your OS platform / MySQL / PHP for the server and version?
Which client browser and version are you using?

The said message emanates from Line 273 of purchasing/supplier_invoice.php.
If you want to brute force it then comment out the lines 266-279 in it.
Check the settings in your sys_prefs table / config settings for the real fix.

We need to set this as a comment in the config file so that it is not used.

The line numbers stated by @boxygen are for the FA 2.4 version of reporting/rep301.php. The equivalent line numbers for FA 2.3 are 187 to 196.

@joe: any fix?