In our TEST environment, when posting an AP/Invoice journal it is throwing the below exception
Cannot edit a record in Journal lines (LedgerJournalTrans).An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
The TEST was refreshed a couple of weeks ago and it had been posting the journals with no issues. It started recently and we have the journals getting posted in production as usual as of now. We could have our TEST refreshed one more to further continute with our testing but just curious to see what exactly may be causing the issue in our TEST. Any inputs is appreciated.
Is there a custom code while posting the journal? (if custom code causing this issue, calling tablebuffer.reread() will be a fix)
The error says that the code is trying to update a record that is been updated by another process but the current process is unaware of it, means code is trying to update an older version of the record. You may have to debug and see the reason for conflict (try adding a break point to update method of ledgerJournalTrans).
Dave said:what exactly may be causing the issue in our TEST.
It may be a different scenario (in terms of code execution), that is causing the update conflict.
How to restart axapta service, could u pls help out?
Hi, the service to restart is on your AOS server