I tried to Remove all my salesorders from 2009 till 2011. Some salesorders cannot be deleted, even if they are fully invoiced. I get the following error:
“The sales order cannot be deleted because related not posted transactions exist.”
I looked trough the error code and found out that it has something to do with the SalesParmTable.
If I enter the SalesParmTable, I see that the orders that cannot be removed, are located in the SalesParmTable with a ParmJobStatus of “Waiting”. There are multiple records in the SalesParmTable for that order.
If I change the status to “Executed” , I can remove the order with no further errors.
I would like to know if I can do this without further problems.
The salesorders are from 2 years ago…