summaryrefslogtreecommitdiff
path: root/test/regress/999-b.test
blob: f6d19f3021c62e511aa2ea369092a696155ed286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

2014-01-01 * Test
    Assets:Cash                   10.00 GBP
    Equity:Opening balance       -10.00 GBP

2014-02-01 * Exchange rate 1.10
    Assets:Cash        -1.00 GBP @ 1.10 EUR
    Assets:Cash                    1.10 EUR

2014-03-01 * Exchange rate 1.20
    Assets:Cash      -1.00 GBP (@) 1.20 EUR
    Assets:Cash                    1.20 EUR

test pricedb
P 2014/02/01 00:00:00 GBP 1.10 EUR
end test

test reg Equity:Opening -X EUR
14-Jan-01 Test                  Equity:Opening balance   -10.00 GBP   -10.00 GBP
14-Feb-01 Commodities revalued  <Revalued>                        0   -11.00 EUR
end test