I have an integration that adds Purchase Invoices. In the event of an error after the header create I need to delete the partially created Invoice. When I call the Delete function I get an error "Other user has modified "Purchase_Invoice" "Document Type=CONST(Invoice),No.=CONST(2354)"
I have tried reading the Invoice prior to deleting and re-connecting to the WebService prior to the delete but always get the same error when I try to delete. Could it have to do with the fact that there are no line, in the case of a failure on the header update or empty lines in the case of a failure on updaing the line values
Any ideas?
*This post is locked for comments