Skip to main content

Delete goods rebook

This action requires the "CancelDelete goods rebook" permission.

Goods rebooks cannot be deleted directly, due to the stock transactions that are connected to them. Instead,Because theyof this, goods rebooks need to be canceled first.

Goods rebooks with no stock transactions, such as "Failed" rebooks, can be deleted without being canceled first.

Once a goods rebook is "canceled" first. 

When canceling a goods rebook, make sure that it is the last transaction in product's lot. Trying to cancel a goods rebook, that is not last, will result in an error being shown.

image.png

To cancel a goods rebook, go to the details page of the goods rebook and openthere theare "Dangerno zone" section. 

image.png

You will see a button, labeled as "Cancel". Click and confirm the button to cancel the goods rebook. This will rollback any changes to the stock, done by the goods rebook, as well as delete anyexisting stock transactions,transactions tied to thisit, goodsit rebook.can

be

Afterdeleted from the process in finished, the status of the goods rebook will then be updated to "Canceled".table.

image.pngoutput.gif

When goods rebook cannot be cancelled (i.e. the error "Transactions exist after this goods rebook." appears), that usually means a transaction after this rebook has been created for one of the items on this rebook. To find the problematic item, list all items in the "Goods rebook Items" table and open every item's Lot (Lot ID)

image.png

On the "Lot" page, open "Stock transactions" section, and check the "Show goods transfers" checkbox. All transactions, created after your goods goods rebook, are the reason, why the goods rebook cannot be canceled.

output.gif