Dear concer
I m using Nav 4.0 SP3 database.I have created 1 sales order when I m going to validate again sell to customer No. field then it is showing me error like:
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.
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.
DataPort.RunModal() is allowed 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 structure the code differently.
Its the Base DB not customisation has been done in Table sales header.
Vikram Dabas
Navision Technical Consultant
0
Comments
i dont think so..
anyhow chech this code with ur sales header table Sell-to Customer No. - OnValidate()
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Anyways, the reason for this that a write transaction has not been finished before you try to edit the customer.
|To-Increase|
Navision Technical Consultant
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Navision Technical Consultant
i didnt get this?
:-k
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
where does the error pops up.... I mean the code.
Technical Consultant, MS Dynamics NAV