essaytee
Need a good one-liner.
- Local time
- Today, 20:58
- Joined
- Oct 20, 2008
- Messages
- 544
Just over a year ago I started out designing a schema for a personal finance/accounts system. I received a lot of help at that time, here's the thread. I wanted it to replace my reliance on Quicken. Since then, other things got in the way so I didn't progress it much further. Anyway, now I have some time and I've re-read all my notes to get back up to speed.
The following is the posting table:
There will be at least two postings per transaction in order to zero out. My query relates to the handling of income/wages. I'm only using the one amount field as opposed to a debit and credit fields. My intention is to use the sign of the amount (positive or negative) for the system to work out the debit and credits.
In order to account for wages, the sign of the amount is negative and it's a positive amount hitting the bank account. It's the negative sign associated to wages that seems to be not quite right, though the transaction correctly balances back to zero.
I'd appreciate any suggestions (or confirmation).
The following is the posting table:
Code:
tbl_Post
Post_ID pk
Trans_ID fk
Account_ID fk
Unit_Price
Unit_Quantity
Reconcile_ID fk
There will be at least two postings per transaction in order to zero out. My query relates to the handling of income/wages. I'm only using the one amount field as opposed to a debit and credit fields. My intention is to use the sign of the amount (positive or negative) for the system to work out the debit and credits.
In order to account for wages, the sign of the amount is negative and it's a positive amount hitting the bank account. It's the negative sign associated to wages that seems to be not quite right, though the transaction correctly balances back to zero.
I'd appreciate any suggestions (or confirmation).