Create and post Vendor Invoice Journals from code as follow.
static void createVendorInvoiceJournal(Args _args)
{
LedgerJournalCheckPost jourCheckPost;
LedgerJournalTable jourTable;
AxLedgerJournalTable header = new AxLedgerJournalTable();
AxLedgerJournalTrans trans = new AxLedgerJournalTrans();
container offsetDim;
// The AP invoice journal name, could vary.
LedgerJournalNameId ledgerJournalNameId = "AP";
// This is the entry against the Vendor account.
...(read more)Image may be NSFW.
Clik here to view.
Clik here to view.
