Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How best to represent Accounts/AccountHeads Hierarchy
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How best to represent Accounts/AccountHeads Hierarchy
Miscellaneous
Thread ID:
00617625
Message ID:
00617625
Views:
49
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
___________________________________________
Next
Reply
Map
View

Click here to load this message in the networking platform