Monday, July 31, 2017

Update cross reference in batch in Dynamics AX 2012

static void UpdateCrossRefBatch(Args _args)
{
    ;

    xRefUpdate::truncateXrefTables();//will drop all data from cross references table
    xRefUpdateIL::updateAllXref(true, false, true);//will kick off batch job to rebuild it
    info("Done, cross reference update batch job created.");
}

No comments:

Post a Comment

D365 Extensions: Extend the validateField Method on a Table

In this post I will going to show you, how to extend the validateField method on a table. As example I used the SalesLine, where I will ...