SubAccounts
Database tables:
local_sub_acct_tb
number
sub_acct_type
ledger_code
primary
key of number, sub_acct_type, ledger_code
The system should take a more modular view of sub accounts than it has in the past. access to The subs should be broken up by the module that they belong with.Payroll would contain the employees, AR/AP would contain the clients. etc. This should not restrict the general ledger from working with the sub accounts.
Certain sub-accounts may need to be assigned to different ledgers like employees, clients, suppliers, and partner/stockholder.
well maybe most subs should be assigned to ledgers. which ones would not? Date, Other, Stock, System?
We could add a ledger_code field to the sub_acc_tb. We need to rename the sub_acc_tb to sub_account_tb and rename the fields to name and id and add code and ledger_code.
Types
Partner/Stockholder
Assets
CDs
Bonds
Clients
Employees
Suppliers
Inventory
Normal
- this option will be user customizable; the user may decide not to
assign to specific ledgers (faster to check session, check database
once if not in session, store in session)