Views:

This message is typically originated when sales documents in Sales Order Processing module in Microsoft Dynamics GP is configured to not allow "Edit Printed Documents". Once the transaction is printed, GP would not allow deleting of the document. The document needs to be voided.

What if this document was imported and something goes wrong? The document was printed, the error was caught and now we need to delete and re-import the batch. And we can't.

The way around it would be to run SQL script updating the field in GP table that holds the "number of times the document was printed"

Running the SELECT statement will show us how many times the document was printed. Please note the WHERE clause that specifies the batch ID.

SELECT TIMESPRT, *

FROM SOP10100

WHERE BACHNUMB = 'TEST'

 

 

Once confirmed that the field TIMESPRT has a value other than 0 (zero) it needs to be updated:

UPDATE SOP10100

SET TIMESPRT = 0

WHERE BACHNUMB = 'Your batch ID'

 

Once you see 0 in TIMESPRT column, go into GP and delete the batch.