Topic: New Advanced Flexible Type/Group Accounts Feature
Hello,
Idea :
Control the Displayed Accounts in the " Combo Box " Accounts Lists
Way of :
in 0_chart_types add a Field : ShowSubAccounts default 'Yes'
Now, when you want to call any " Combo Box " Accounts List:
1. Call a new function : Ex. ShowGroupAccounts
- Default : Show All Types/Accounts Sub Accounts
- Select What Types/Groups Account to hide in the " Combo Box " Accounts
Lists
2. Call function "gl_all_accounts_list" based on what returns the function
ShowGroupAccounts
Advantage :
The main concept of this turn around is to provide a way to control any
Journal Voucher Data Entry Accounts Lists.
This will help to :
- develop unlimited web pages based on : gl_journal.php
- control the length of any Accounts List who may become annoying when the
COA is too long
Example of a direct application (Embed a simple PAYROLL approach based on accountants view):
Type/Group Account : 60 Wages & Salaries
Accounts : 60000 W & S General
60001 Empl_1
60002 Empl_2
60003 Empl_3
60004 Empl_4
......... etc
Regards,
Khaled