Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Create and post Vendor Invoice Journals X++

$
0
0

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.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>