I have to prepare cash-flow. there are 2 different entity like entity A and entity B.
entity A has record of Payment we have to pay on that date.
entity B has record of Payment which come from customer.
so,
Entity A Entity B
Jan/2019 | -300 USD Jan/2019 | +500 USD
Feb/2019 | -200 USD Feb/2019 | +200 USD
March/2019 | -100 USD March/2019 | +100 USD
June/2019 | -700 USD April/2019 | +600 USD
December/2019 | -300 USD November/2019 | +700 USD
There are data for one record.
and i want to print report like below.
Date Entity A Entity B Total
Jan - 2019 -300 USD +500 USD +200 USD
Feb- 2019 -200 USD +200 USD +0 USD
March- 2019 -0 USD +100 USD +100 USD
April- 2019 -0 USD +600 USD +600 USD
June- 2019 -700 USD +0 USD -700 USD
November- 2019 -0 USD +700 USD +700 USD
December- 2019 -300 USD +0 USD -300 USD
Please help me to do this.
Thanks In Advance.