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

Best Practices for Troubleshooting Application Issues in D365 and Power Platform

When facing application issues, it’s important to systematically troubleshoot before reaching out for support.  Follow these steps to ensure...