Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How best to represent Accounts/AccountHeads Hierarchy
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
How best to represent Accounts/AccountHeads Hierarchy
Divers
Thread ID:
00617625
Message ID:
00617625
Vues:
50
Dear All

What is the best way to define tables and records for an Accounting system, wherein there will be accounting heads under which there will be accounts.

Also the accounts/accountheads are classified as debit or credit and grouped under Manufacturing A/c., Profit and Loss A/c. and Balance Sheet.

One structure that comes to mind is as follows:
iID          Integer
cName        Character   35
lAcctHead    Logical
yOpBalance   Currency
iParentID    Integer
and define records like
Desc               iID             iPID
Manu A/c.           1                 0
Debit               2                 1
Opening Stock       3                 2
Expenses (Directt)  4                 2
etc.
I am at loss for defining Debit/Credit as knowing at the time of data entry maybe required.

Please suggest
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform