The following C/AL functions can be used only to a limited degree during write transactions because one or more tables will be locked. Form. RunModal is not allowed in write transactions.
In purchase order page, I have shipment lines. If I open shipment card, I can generate reports. When I click the specific report, it shows an error as mentioned earlier. And If I close the error, and try to click the same report, its working fine. If I close the page, and open the shipment card again, and if I choose the report again it will show the error.
I want to know how that write functions are working in second time. And this error occurs only when I have multiple shipment lines in purchase orders.
I am using Report.Runmodal. If I put COMMIT statement, will it cause any other issue?
Answers
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
I want to know how that write functions are working in second time. And this error occurs only when I have multiple shipment lines in purchase orders.
I am using Report.Runmodal. If I put COMMIT statement, will it cause any other issue?