Personal Accounting / Multi-Currency Ledger / Normalization / Relashionship
Hello everyone, I need help to normalize this table:
h.t.t.p.://
i1070.photobucket.com/albums/u485/rodrigo_regis/AccountingNormalization_zpsdf8071b2.jpg
One transaction must have 1 or more rows ("entry lines")
Each row must have:
one account
one currency
one entry
one amount [any number value I input]
Example:
#1, BitFinex, BTC, Debit, 1;
#1, Bank of America, USD, Credit, 480;
#1, Bank of America, USD, Credit, 40; [note: fee]
#2 .....
I am having a very hard time to figure out the best way to achieve this.
Could one of you tell me which tables and keys/relationships I should use?
I have tried a few different scenarios, but they are just not properly set up.
I'd love to have all this structure perfectly normalized
Thank you very much for your help
link to my older, edited post:
h.t.t.p.://
i1070.photobucket.com/albums/u485/rodrigo_regis/table_zps65c1ef53.jpg
Hello everyone, I need help to normalize this table:
h.t.t.p.://
i1070.photobucket.com/albums/u485/rodrigo_regis/AccountingNormalization_zpsdf8071b2.jpg
One transaction must have 1 or more rows ("entry lines")
Each row must have:
one account
one currency
one entry
one amount [any number value I input]
Example:
#1, BitFinex, BTC, Debit, 1;
#1, Bank of America, USD, Credit, 480;
#1, Bank of America, USD, Credit, 40; [note: fee]
#2 .....
I am having a very hard time to figure out the best way to achieve this.
Could one of you tell me which tables and keys/relationships I should use?
I have tried a few different scenarios, but they are just not properly set up.
I'd love to have all this structure perfectly normalized
Thank you very much for your help
link to my older, edited post:
h.t.t.p.://
i1070.photobucket.com/albums/u485/rodrigo_regis/table_zps65c1ef53.jpg
Last edited: