Sales order line delete fails for treetype=S line items
SBO v8.8 PL17
In a Windows Console DI application, I need to delete lines that have TreeType=S from a Sales Order.
I get an error message that the Delete Line Failed and no other details for the error.
I have no trouble deleting the line in the SBO client sales order screen.
Often, the Sales Bill of Materials (SBOM) for the item on the SO line has changed after the line was created.
Could the DI be validating the child item rows (treetype=I) for the father item against the current lines in the SBOM and blocking the deletion because they no longer match?
In any case, how can I get around it or at least find out the actual reason the the line deletion fails?