Hello all,
Error pasted below:
The following AL methods are limited during write transactions because one or more tables will be locked:
Form.RunModal is not allowed in write transactions.
Codeunit.Run is allowed in write transactions only if the return value is not used. For example, 'OK := Codeunit.Run()' is not allowed.
Report.RunModal is allowed in write transactions only if 'RequestForm = false'. For example, 'Report.RunModal(...,false)' is allowed.
XmlPort.RunModal is allowed in write transactions only if 'RequestForm = false'. For example, 'XmlPort.RunModal(...,false)' is allowed.
Use the commit method to save the changes before this call, or structure the code differently.
Contact your application developer for further assistance.
Internal session id:
86aa910a-4b0f-4df7-b989-ee4dfe1df1d7
Application Insights session id:
d8abe488-0a24-4591-abdf-56240ca8ef08
Client activity id:
8078f0db-e627-4af7-adbd-9005a4b5d762
Timestamp:
2022-03-18T13:46:30.4896137Z
AL call stack:
"Assembly Header-Reserve"(CodeUnit 925).CallItemTracking line 9 - Base Application by Microsoft
"Assembly Header"(Table 900).OpenItemTrackingLines line 6 - Base Application by Microsoft
"Assembly Order"(Page 900)."Item Tracking Lines - OnAction"(Trigger) line 2 - Base Application by Microsoft
----------
What shall I do? This was working before and I have permissions to do it.
Thanks,
Lisa