@joe: need this fix?

Try to put in both languages in the name itself or alter the rep107.php accordingly.

Very nicely done. Keep up the good work.

No one seems to indicate if they are accountants!

705

(2 replies, posted in Setup)

And read this post.

@joe can this be included into the core with a Company Setup flag in sysprefs table?

707

(22 replies, posted in Setup)

Updated Wiki.

Account Types appears in the bank_accounts table and in the menu Banking & GL => Bank Accounts and has the following values / choices:

0 => Savings Account
1 => Chequing Account
2 => Credit Account
3 => Cash Account

Expect these functionalities and choices to be hard coded in the php scripts. How do we use it to summarise them?

The wiki entry asks to allocate a single GL account to many Bank Entries at:
https://frontaccounting.com/fawiki/index.php?n=Help.BankAccounts

Also there is very little info on Account Tags in the wiki. at:
https://frontaccounting.com/fawiki/index.php?n=Help.AccountTags

@joe: The recurring invoice template can have a flag (sysprefs?) to pass on the dimension parameter to subsequent invoices generated.

710

(22 replies, posted in Setup)

@joe: Need to refurbish the end of year routines to make sure that the client balances are automatically made along with unpaid and partially paid invoice data for allocation of payments in the subsequent year. This needs to be done for suppliers as well. The appropriate stock moves too need to be taken care of.

711

(1 replies, posted in Development)

NotePad++ does it.
https://stackoverflow.com/questions/11341660/change-eol-on-multiple-files-in-one-go

To convert line endings use unix2dos and dos2unix.

712

(15 replies, posted in Setup)

Sales => Sales Types
Choose to Include or Exclude Tax in prices.

Compare the sql/<chart>.sql used in InMotion hosting and the one in the sourceforge and inform softaculous / hosting provider of the discrepancy. Possible that the latter did not update their install scripts.

Thanks for reporting it.

714

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

Turn on debug in the config file and see what errors accrue.

Then why create subsidiary ledgers for them in the first place? If such a need is for reporting only, then write a custom one.

Petty cash is treated like a bank account in FA. That is why you will find it in the bank_accounts table (check using the standard Chart of Accounts with demo data).

717

(20 replies, posted in Report Bugs here)

The parenthesis should be added to the second condition as it is a fallback. First choice Output, then Input and last NULL.

Lines 464-465 of file gl/includes/db/gl_db_trans.inc:

        $reg_type = in_array($trans_type, array(ST_SUPPINVOICE, ST_SUPPCREDIT)) ? TR_OUTPUT
                : in_array($trans_type, array(ST_SALESINVOICE, ST_CUSTCREDIT)) ? TR_INPUT : null;

should be:

        $reg_type = in_array($trans_type, array(ST_SUPPINVOICE, ST_SUPPCREDIT)) ? TR_OUTPUT
                : (in_array($trans_type, array(ST_SALESINVOICE, ST_CUSTCREDIT)) ? TR_INPUT : null);

It is properly coded in line 86 of includes/JsHttpRequest.php.

@joe: can implement this and check for others.

The sql construct starting at line 107 refers to an alias: Demmand. Is it used and is the mis-spelling intended? The said column does not appear to be explicitly named anywhere in usage.

The only indexes worth creating are:

ALTER TABLE 0_sales_orders ADD INDEX FromStkLocIdx (from_stk_loc); 
ALTER TABLE 0_stock_master ADD INDEX MBFlagIdx (mb_flag); 

The function stock_demand_manufacture is recursive in nature to cycle through all BOMs that may have other BOMs as part of itself. Check that the BOMs do not have any parent entities as part of the downline.

Takes a while for the screen to come up due to huge js possibly.
Color combination between foreground and background for the mobile width menu (Menu1.png) needs better contrast and some way to navigate back to the upper menus. Good work.

Setup a fork on GitHub and place your theme therein. Hope you did not change any of the core files.

What is the size of your gzipped sql backup from FA?
Maybe it can be simulated in a quarantined cloud container and provide the reports and study the sqls that need to be optimised.

We need to first try it on say PHP 5.3.3 / MySQL 5.1 on a test Debian 6.0 container. This can be tedious and time consuming besides the discerned attention to technical detail. Is it worth it?

Just add the accounts pertinent to the Real Estate sector into any standard chart of accounts.

722

(6 replies, posted in Setup)

In each menu item you want add / edit role separation do the following:

1. Take a FA sql backup
2. Add a record in the menu item
3. Take another FA sql backup
4. Compare the 2 backups and see what SQL statements are needed for the Add operation.
5. Edit the record in the above menu item for the fields desired to be edited (or in it's entirety)
6. Take yet another FA sql backup
7. Compare the last 2 backups and see what SQL statements are needed for Edit operation.
8. Compare the field list for the Add and Edit operation's SQL statements.

Now either code the PHP in a way that achieves the above (OR)
Create a new MySQL DB (non-edit) user giving it suitable rights over the desired tables/fields and program the FA mysql_connect based on the logged in (non-edit) user and switch to those credentials.

We will then need another kind of Sales document type for "Goods reserved for Sales Order".

rep302.php - Inventory Planning Report - Line 52
rep303.php - Stock Check Sheet - Line 164

The above reports have a function getTransactions() which uses item.description in the GROUP BY clause - this assumes that each item.stock_id can have different item.description(s) - may even try to remove the offending Line making sure it is unique or make an index for it with:

ALTER TABLE `1_stock_master` ADD INDEX `ItemDetailIdx` (`description`); 

"Goods waiting for delivery" will then mean "Goods in Stock reserved for said order" and inability to sell such stock to others if the "Proforma Invoice" is not converted into an order forthwith!

Do you really want this complication?

Better stick with "Sales Quote" and make a move of the proposed items and quantities to a holding account till it gets converted into an order for delivery and revert it just before Invoicing it finally!.