In the demo data, there is no element with gl.amount = 0 and hence I have not tested it out. Generally this occurs when a transaction is edited, the old one's amount becomes 0  and the current (edited) value becomes the gl.amount in the new record.

@joe: does this merit inclusion in the base code?

History transactions will have to be handled by Journal Vouchers to transfer from Cash to appropriate Bank or vice versa depending on how the payment came in and how you "applied" it.

Navigate to Banking and General Ledger -> Bank Accounts and you should see your Cash and Bank Accounts listed there. The Account must first exist in the Accounts Master and then be assigned here.

3,003

(2 replies, posted in Setup)

http://stackoverflow.com/questions/112190/php-ini-smtp-how-do-you-pass-username-password
https://documentation.cpanel.net/display/CKB/How+to+Edit+Your+php.ini+File

3,004

(1 replies, posted in Accounts Receivable)

On creating a customer, you should create a branch for the customer and you must also have items / products / services to sell before you can create an invoice. The branch should be created for the specific customer.

Which version of PHP / MySQL are you using and what platform is the server on?

3,005

(14 replies, posted in Report Bugs here)

Yes, many users are on PHP 5.3.

To start with use the standard default theme whilst importing for first time. Make sure that your db schema matches the fiekd names and types in the same order as the sql/en_US-new.sql file.

Turn off strict mode on PHP 5.6+ as date and time fields will otherwise not recognize zero values.

3,008

(1 replies, posted in Items and Inventory)

Yes, but beware of changing the changed ones. Better make a separate dummy field in each table and sequentially replacing where it is NULL and then dropping the original column, renaming the dummy column to the original column and then enabling the foreign keys when all the tables are done.

3,009

(1 replies, posted in Setup)

Sales Kit is for products that can be disassembled into it's constituent parts for individual sale. You cannot disassemble the flour out of the cake.

Use manufacturing to get the job done. It will be a new manufactured item.

3,010

(2 replies, posted in Banking and General Ledger)

If there are only a few entries, manually enter a JV on the last day of the previous fiscal period and open the new fiscal and close the old one.

Otherwise, make one entry in a JV on the last day of the of the previous fiscal period and compare the before and after backups for what has changed and prepare a set of SQL statements for all the others in a spreadsheet and execute them in your MySQL client.

3,011

(14 replies, posted in Report Bugs here)

PHP 5.3 going EOL  does not affect this version of FA and it's large userbase who are still on those versions. The newer versions and forks can cater to the latest versions of PHP. Almost all the users are on some form of private VPNs or on LANs for FA usage or protected by some other means or do not need the benefits of the later versions of PHP.

3,012

(1 replies, posted in Report Bugs here)

Your PR Requests are for FA 2.3 and FA 2.4. FA 2.3 is retained at MySQL and will not backport MySQLi changes.

Please note that the GitHub repo is just a mirror whilst the actual repo is on SF Git.

3,013

(14 replies, posted in Report Bugs here)

Hope these constructors do not disrupt existing PHP 5.3 users.

@stefan: The changing of the prefix from CHAR to VARCHAR mitigates some cryllic alphabet issues.  Also when the number of characters exceeds 4 or so, the mb_strlen mitigates it.

How will it affect those without mb_strlen (any situations) and whether it can be incorporated wherever strlen is used in both FA 2.3 and 2.4? Any changes here will have to be carried through to everywhere it is used.

Please note that mb_strlen is used in both A 2.3 and 2.4 in the following files:

reporting/includes/class.graphic.inc
reporting/includes/Workbook.php

The usage in the last file above is:

    $strlen = function_exists('mb_strlen') ? mb_strlen($str, 'UTF-16LE') : (strlen($str) / 2);

whilst in the former it is:

    $width = mb_strlen($string, "UTF-8");

@itronics: Using VARCHAR results in slightly bigger memory usage, and slower processing (though probably both issues are hardly noticed).Using VARCHAR results in slightly bigger memory usage, and slower processing (though probably both issues are hardly noticed).

@itronics: Regarding mb_strlen function, it should be used indeed, but it is available only when mbstring php extension is enabled, so to avoid problems the conditional call should be used as it is done in Workbook.php.

References:

* What Every Programmer Absolutely, Positively Needs to Know About Encodings and Character Sets to Work With Text

* php.ini mbstring overload

Do you have a backup when permissions worked?

@joe: can we add this in?

What is the sql statement after the variables get populated? Does the evaluation of the expressions match the desired sql output?

3,018

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

Check if the attachment is okay and matches your current repo state.

3,019

(3 replies, posted in Items and Inventory)

Manufacture is more like it.
Issue 1 cow (or 500 Kg cow)
Manufacture 40 Kg Rump Steak.

If the units are related, then use unit factor of input and output items:
Issue 500 Kg Cow
Unit Factor 0.08 Kg Cow = 1 Kg Rump Steak, ie., 40 Kg Rump Steak.

The prefix field is defined as CHAR in the original sql - why did you change it to VARCHAR?

Display the actual SQL statement after replacement of the variables and compare with the $ref_fld value. Refer Troubleshooting FA in the wiki.

3,021

(3 replies, posted in Items and Inventory)

Assembly / Manufacture

Are you referring to FA 2.4RC1 Setup => Transaction References ?

If so, you might want to increase the prefix size from the default of 5 in the table:

ALTER TABLE `0_reflines` CHANGE `prefix` `prefix` CHAR(10) DEFAULT '' NOT NULL; 

The Bank Statement has the Person/Item Column - is this the "Memo details" you are referring to? If so, alter the reporting/rep601.php file.

3,024

(1 replies, posted in Accounts Payable)

Handling Pre-Payments in FA

Check the wiki.

What is the name of your FA's database for your company - is it "finance" ?
Check if it is the same in config_db.php for the company.
Also when using the dashboard - make sure that both the theme and the extension are installed and activated for the company you are using and permissions for the desired user roles enabled.