Hi Fritzly,
We would suggest you post to our Dynamics NAV forum, which is dedicated in handling this kind of issue.
The following thread is for your reference: TRY.. CATCH in C/AL
Your understanding is highly appreciated.
Sky Pei
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have Dynamics listed among the available apps but when I click on it I get the following error message:
"
An error has occurred
Could not open the '' company. The following C/AL functions 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 function to save the changes before this call, or structure the code differently."
Any idea/
TIA
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi Fritzly,
We would suggest you post to our Dynamics NAV forum, which is dedicated in handling this kind of issue.
The following thread is for your reference: TRY.. CATCH in C/AL
Your understanding is highly appreciated.
Sky Pei