Hello,
I'm working on a soap API integration.
I'm working on a soap API integration.
I can easily create a Sales Quote but then I would like to modify it multiple times to add a SQ line each time. First time it seems to work but then I can't either write nor read the SQ.
The returned error is :
<s:Envelope xmlns:s=/http://schemas.xmlsoap.org/soap/envelope//><s:Body><s:Fault><faultcode xmlns:a=/urn:microsoft-dynamics-schemas/error/>a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException</faultcode><faultstring xml:lang=/en-US/>A transaction must be started before changes can be made to the database.</faultstring><detail><string xmlns=/http://schemas.microsoft.com/2003/10/Serialization//>
<s:Envelope xmlns:s=/http://schemas.xmlsoap.org/soap/envelope//><s:Body><s:Fault><faultcode xmlns:a=/urn:microsoft-dynamics-schemas/error/>a:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException</faultcode><faultstring xml:lang=/en-US/>A transaction must be started before changes can be made to the database.</faultstring><detail><string xmlns=/http://schemas.microsoft.com/2003/10/Serialization//>
Any idea why is that? Do I have to commit the changes I push through API ? How to do so ?
Environment is on premise and Version: BE Business Central 19.5
Thanks
Categories:
