Hi all,
i have a webservice code unit to insert Sales orders from the buffer tables into the Sales header and Sales Lines Tables.
the problem is i get errors saying
"Codeunit.Run is allowed in write transactions only if the return value is not used. For example, 'OK := Codeunit.Run()' is not allowed"
any help on this please
0
Comments
Make sure you don't chek the returnvalue with an if-statement or use it to set the value of a variable.