Cannot edit a record in Sales Orders (SalesTable). An update conflict occured due to another user process deleting the record or changing one or fields in the record D365 FO
Views (178)

This error usually occurs when you are trying to update a table, but the table was previously updated by another operation.
In this case it is advisable to call the reread () method of the table before updating.
Something like that :
1 2 3 4 5 6 | journalTable.reread(); //--> try this before update methodjournalTable.NumOfLines = any2int(journalTrans.recId);journalTable.selectForUpdate(true);ttsBegin;journalTable.update(); //Update methodttsCommit; |

This was originally posted here.

Like
Report
*This post is locked for comments