Items in the Cart are used for both display and for populating the tables. To conserve screen real-estate, the display is generally rounded off to 2 decimal places. Hopefully all the 8 digit amounts can fit into the Chart of Account table fields.

It is the function add_gl_item that needs to be fixed - inspect the value of $amount at the point when $this->gl_items[] = new gl_item(..... is executed whether it has the 8 digits in the decimals at line 130.

@joe: Worth fixing.

FA Forum spam registrations predominantly from SEO sponsored users / competition malfeasance lobbies has been on the increase. In April 2018, 3 in 4 registrations are undesired ones. This is probably due to a FA release in the latter half of March 2018 where forum visibility was anticipated to be high and hence reap rich rewards for SEOs certainly not shared with the project!

Attached is the user registration stats since Jan 2017.

Yes, you're right.

It is now Wiki-ed.

This is a known issue and is pending acceptance of the fix.

Others of it's ilk are:

ini_set('default_socket_timeout', 2);
// your socket based code here

// restore to the default socket timeout
ini_restore('default_socket_timeout');

ini_set('max_execution_time', 0); // unlimited and default for CLI script usage.

You can not change this setting with ini_set() when running in safe mode.
The duration of sleep() will be ignored in the execution time.

Stands Wiki-ed.

Wiki-ed it.

1,732

(37 replies, posted in Installation)

The snippet:

$db = mysqli_connect($connection["host"], $connection["dbuser"], $connection["dbpassword"], "",
        !empty($connection["port"]) ? $connection["port"] : 3306); // default port in mysql is 3306

can be changed to include the dbname directly like:

$db = mysqli_connect($connection["host"], $connection["dbuser"], $connection["dbpassword"], $connection["dbname"],
        !empty($connection["port"]) ? $connection["port"] : 3306); // default port in mysql is 3306

1,733

(20 replies, posted in Items and Inventory)

You might also want to modify the "//Example" in transfer.inc to match your multiple {stock_id, quantity} line entries. In which file did you make the changes listed in your second code snippet above?

1,734

(20 replies, posted in Items and Inventory)

@justapeddler: Thanks for your submissions and feedback. This is the real spirit of FA that keeps it ticking!
As stock transfers are part of inventory, it might make sense to extend inventory.inc, but keeping it in a separate transfer.inc  will make for independent development. Please go thru it thoroughly for different scenarios and then I can add it in to the FA24extensions repo.

1,735

(6 replies, posted in Reporting)

Wiki-ed it.

Even queries for the Web UI Inquiry pages do not generate any records in the tables - they are merely select queries. If the show_sql and debug flags in the config.php file are enabled along with show select, then the select queries too will be shown.

Check the config_db.php file if your db access credentials for the target company are okay and the privileges have been flushed for it to come into effect.

Read and understand the said file and make small adjustments where you see font and observe the changes in the output and then go from there.

You can also post a bounty in the Jobs offered board here for others to see if it is worth their while to assist you.

1,739

(6 replies, posted in Setup)

Yes. You will have to adjust the pattern in the reflines table in Setup => Transaction References => Dimension.

As for the wiki, you are free to make it more understandable.

1,740

(20 replies, posted in Items and Inventory)

There is no need for the$info argument in inventory.inc as it gets assigned inside the function stock_adjustment_add() on line 19.

Committed.

1,741

(20 replies, posted in Items and Inventory)

Since stock transfer needs another argument, the prototypes too must be modified.

@boxygen: the json output can be parsed into an array and then manipulated.

If some currency pairs are one way only quotients exceeding 4 digits of zeroes in the decimal places then an intermediate exchange rate can be used in the division in reverse.

1,743

(6 replies, posted in Development)

The Bug Tracker is sufficient for that.

Painful task. Adjust the font size to be really small and then name your items really short. Avoid all decimals if possible. Adjust the column widths! Make a copy of the reporting/rep107.php and place it in your company/#/reporting/ folder where # is your company number. Now edit the latter to suit your needs.

Reports cannot ordinarily add records.
Only the Web UI forms can do it like generating a sales invoice or allocating a supplier payment to a purchase invoice.

Provide an example of a report where you get entries generated.

1,746

(6 replies, posted in Setup)

Setup => Company Setup => Use Dimensions => choose 0, 1 or 2 Dimensions. The default in most charts is just 1.

In the Dimensions => Dimension Entry, the start and end dates can be the same as the fiscal year. his is where you will want your divisions to reside in a single dimension Type.

In Items and Inventory => Items, assign each item to  a specific Dimension where desired.

The Wiki is quite explanatory.

If you forget to set the dimension in each entry form correctly, all the Profit and Loss Accounts pertaining to it will appear messed up.

1,747

(6 replies, posted in Setup)

All company information are in the sys_prefs table as records. Dimensions can be used in any classification of profit centres - dated ranges too are accommodated but departments / divisions are the general usage.

The dashboard is now integrated with FA in v2.4.x and the __construct() is implemented in the themes for the constructor. Replace the Exclusive theme files with the ones from the FA24extensions repo and see whether it works.

It is possible that several records can be added to the table for each report especially when select queries are enabled. Generally there are no update / insert SQLs captured during output of standard reports.

Turn on the debug and sql_trail flags in the config.php file.