Thursday, 11 December 2014

Delete must be performed inside a transaction




static void dodelete(Args _args)
{
    InventParameters    invent;
      
    ttsBegin;
    select forUpdate invent;  
    invent.doDelete();
    ttsCommit;
    info("Done....");
}

No comments:

Post a Comment

Calculate ledger balance by dimension set in X++ in AX2012/Dynamics 365 FO

There are a variety of ways users can view balances in the general ledger. Some of the most common options are: 1. Trial balance 2. Financia...