Sales update creates 2 lines for same order
When an order is ship confirmed we have a line created in F4111 with DOCO = DOC
When sales update is run this line is updated. The DOC gets the invoice number which was previously the order number.
We are having an issue where this line is not updated but we have a new line inserted with the DOCO = Order number and DOC = Invoice number.
How can this happen, any bug related to this?