hi everybody,
i'm trying to post my data into LedgerJournalTrans via X++ .
1-how can i update [approved by] field in invoices journal?
2-how can i update the [OffsetAccount ] ?
the below lins my code accourding to update offsetaccount,i dont know what's wrong!
offsetAccType = LedgerJournalACType::Ledger;
trans.parmOffsetAccountType(offsetAccType) ;
Container=['','123',0];// i do not use dimentions on this account
trans.parmOffsetLedgerDimension(AxdDimensionUtil::getLedgerAccountId(Container));
but it not afect any result on the ledger.
please help me on this issue.