- Joined
- Dec 24, 2015
- Messages
- 1
- Reaction score
- 0
- Country
Hello Everyone,
I am a software engineer with less accounting background and I am developing a very small software for a client. I need to store the receipt in a double entry system, I know in double entry one entry is Dr. and another entry is Cr. but in a receipt we can face with the following types of payment:
Fields (Gross Total, Discount, Advance, Remaining)
Type 1:
Gross Total: $100
Discount: $0
Advance: $0
Remaining: $100
Type 2:
Gross Total: $100
Discount: $0
Advance: $100
Remaining: $0
Type 3
Gross Total: $100
Discount: $50
Advance: $50
Remaining: $0
Type 4
Gross Total: $100
Discount: $25
Advance: $25
Remaining: $50
Type 3
Gross Total: $100
Discount: $0
Advance: $50
Remaining: $50
Type 3
Gross Total: $100
Discount: $100
Advance: $0
Remaining: $0
Journal Table:
AccCode, ReceiptCode, Date, Dr. Cr. Description, EntryReference, EntryType, JournalType
Keeping above table in mind, how do I store the above types in Journal Table
Note: adding, removing table columns are appreciated.
Thanks
I am a software engineer with less accounting background and I am developing a very small software for a client. I need to store the receipt in a double entry system, I know in double entry one entry is Dr. and another entry is Cr. but in a receipt we can face with the following types of payment:
Fields (Gross Total, Discount, Advance, Remaining)
Type 1:
Gross Total: $100
Discount: $0
Advance: $0
Remaining: $100
Type 2:
Gross Total: $100
Discount: $0
Advance: $100
Remaining: $0
Type 3
Gross Total: $100
Discount: $50
Advance: $50
Remaining: $0
Type 4
Gross Total: $100
Discount: $25
Advance: $25
Remaining: $50
Type 3
Gross Total: $100
Discount: $0
Advance: $50
Remaining: $50
Type 3
Gross Total: $100
Discount: $100
Advance: $0
Remaining: $0
Journal Table:
AccCode, ReceiptCode, Date, Dr. Cr. Description, EntryReference, EntryType, JournalType
Keeping above table in mind, how do I store the above types in Journal Table
Note: adding, removing table columns are appreciated.
Thanks