Deadlock Error during Packing slip posting through AIF services

Hello Everyone,

We are using AIF Services to integrate AX sales process with third party application, it includes order creation, Load creation and Packing slip.

But we are getting continuous error on packing slip posting and error message is as below, error frequency is almost 1 out of 70 orders.

Cannot delete a record in Sales parm line information for India (SalesParmLine_IN). Reference: 0, 0. Deadlock, where one or more users have simultaneously locked the whole table or part of it. Posting Update has been cancelled.

Even we tried below code snippet as well

try
    {
        ttsbegin;
        // Packing slip posting code
        ttsCommit;
    }
    catch (Exception::Deadlock)
    {
        retry;
    }

Please help in this regards, Thanks.

Parents
No Data
Reply Children
No Data
Related
Recommended