When creating a new LedgerJournalTrans record, call the method
ledgerJournalTrans.parmOffsetLedgerDimension(ledgerJournalTrans.getOffsetLedgerDimensionForLedgerType(mainAccountValue, ledgerJournalTrans.getOffsetCompany()));
This will convert the main account value into ledger dimension and store it in the offset ledger dimension field of the LedgerJournalTrans.
Comments
Post a Comment