preloader-matrix

Alfasith

inserting into table by job in AX X++

static voidDataDic_InsertRecord(Args _args)
{
MyTable myTable;
;
ttsbegin;
myTable.initValue();
myTable.accountNum  = “100”;
myTable.custName  = “Alt. customer id 100”;
myTable.custCurrencyCode  = “USD”;
if (myTable.validateWrite())
myTable.insert();
ttscommit;

}

Leave a Reply

Your email address will not be published.