Logic to Derive Statement_balance and Current_statement_balance
Statement_balance is nothing but previous month statement balance.
Current_statement_balance is till date balance for a statement.
Can anyone let me know the logic to derive that? Do we have any tables which stores this?
Statement Header table have total_amount_due but what is it?