LEDGER field on these view may not be the same as the LEDGER field on JRNL_HEADER or JRNL_LN
SUM(MONETARY_AMOUNT) on JRNL_LN cannot be used when these views are joined and have multiple entries on the same journal line. Use SUM(UM_MONETARY_AMOUNT) field from these views.