- Local time
- Today, 18:36
- Joined
- Feb 19, 2013
- Messages
- 17,187
You would use one table with following fields
Transaction PK
name of dr column
Name of cr column
Event type
Event description
Date of event
Amount
‘name of’ could be an account number or fk to another table, event type speaks for itself, event description would perhaps be name or account number of client A
Presentation wise - you can use a crosstab to present per my example
When summing a column - if dr then multiply by 1, if cr then multiply by -1
could get more complicated if the payment from client A is split for some reason between say company a and company b but without knowing more…..
Transaction PK
name of dr column
Name of cr column
Event type
Event description
Date of event
Amount
‘name of’ could be an account number or fk to another table, event type speaks for itself, event description would perhaps be name or account number of client A
Presentation wise - you can use a crosstab to present per my example
When summing a column - if dr then multiply by 1, if cr then multiply by -1
could get more complicated if the payment from client A is split for some reason between say company a and company b but without knowing more…..
Last edited: