09-12-2016, 07:49 PM
I solved this by changing the way I update the SO. I now first retrieve it, change what I want to change and then update it, in stead of revising. Not really a thourough search for what's going wrong, but at least it works. I've had to set the 'invoice status' field as well, but we don't use that anyway.