Delete goods receipt
This action requires the "delete goods receipt" permission.
Goods receipt cannot be deleted directly, due to the stock transactions that are connected to them. Because of this, goods receipt need to be canceled first.
Goods receipt with no stock transactions, such as "Failed" receipts, can be deleted without being canceled first.
Once a goods receipt is "canceled" and there are no existing stock transactions tied to it, it can be deleted from the table.