lakani / OpenCore

OpenCore , an accounting system
1 stars 0 forks source link

Segments of GL #45

Closed lakani closed 3 years ago

lakani commented 3 years ago

For M1 Release it will be fixed as below, for later releases it will be dynamic

It should be something like this, the admin should be able to setup something like this Nature-Zone-CompanyNo-BranchNo-SectorNo-DepNo-UnitNo-ProductNo-PostingLevel-LedgerNo

-##-##-####-##-##-##-####-#-

Any GL should contains the following segments Serial Segment Name Mandatory Segment Description
1 Nature Mandatory # Nature of the GL, it could be wither (1=Asset, 2=Liability, 3=Income, 4=Expense, 5=Capital)
2 Zone Not Mandatory ## Zone, it’s up to 99
3 CompanyNo Not Mandatory ## The Company Number it’s up to 99 Company
4 BranchNo Not Mandatory #### Branch number, its up to 9999 branches
5 SectorNo Not Mandatory ## Sector number, its up to 99
6 DepNo Not Mandatory ## Department number , its up to 99
7 UnitNo Not Mandatory ## Unit Number , it’s up to 99
8 ProductNo Not Mandatory #### Product number, its up to 9999 Products , for example 0001 is the number for Car Loans, 0002 is the number for Personal Loans
9 PostingLevel Mandatory # Posting Level , 1 for on Balance , 0 for Off Balance
10 LedgerNo Mandatory ###### Ledger number, it’s up to 999999, this is the end leaf as it incremental if not supplied

However, while creating a new GL, the (nature, Posting Level and optionally Ledger number) should be provided and in this case the other segments will defaulted by 0

Examples (1-00-00-0000-00-00-00-0000-1-000001) is an on Balance asset GL (2-00-00-0000-00-00-00-0000-1-000001) is an on Balance liability GL

lakani commented 3 years ago

Fixed