Follow the steps to reproduce the error:
- Go to General Ledger > Reports > Transactions > Periodic > Financial statement
- Choose INC_01 Income statement for Financial statement.
- Choose Account for Main focus.
- Choose P&L for Row definition.
- Click OK button to run the report.
Updated:
Obviously map.empty() doesn't work as it do. Probably following code can solve the bug on our standard financial report.
//empty statement was added to be 100% sure that not critical error being thrown. but it's still redundant.
ledgerBalColumnsDim = ledgerBalColListPrinted.empty() ? ledgerBalColList.lookup(actualColumn) : ledgerBalColListPrinted.lookup(actualColumn);
Change to:
//empty statement was added to be 100% sure that not critical error being thrown. but it's still redundant.
ledgerBalColumnsDim = !ledgerBalColListPrinted ? ledgerBalColList.lookup(actualColumn) : ledgerBalColListPrinted.lookup(actualColumn);