I got the message below when perform Carry Out Action Message for Purchase Item in Planning Worksheet, the message show:
"The following C/AL functions can be used only to a limited degree during write transactions (because one or more table will be locked).
Form.RunModal is not allow in write transactions.
CodeUnit.Run() is allow in write transactions only if the return value is not used. For example, 'OK:=CodeUnit.Run()' is not allow.
Report.RunModal is allow in write transactions only if ' RequestForm = FALSE'. For example, 'Report.RunModal(...,FALSE)' is allowed.
DataPort.RunModal is allow in write transactions only if ' RequestForm = FALSE'. For example, 'DataPort.RunModal(...,FALSE)' is allowed.
Use the commit function to save the changes before this call, or structured the code differently
"
There is no such problem for Production Items. I am a consultant not developer, it's seem to problem with coding. Could you give a advise? Thank alot!
0
Comments
On the option tab there is a checkbox. Stop and Show First Error. Check that option.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n