When we want to cancel a document that includes items with lots or create a return ticket, we follow the following procedure:

  1. We open the invoice we want to cancel
  2. We select the batches of the type we want to return and press disconnect from batches
  3. We normally cancel the document by copying, for example, to a special cancellation note, return slip or credit card. Thus the items are removed from the warehouse


It is good to select the documents that we import the goods in the EMDI settings


Automatic disconnection from batches

When issuing a Return Notice, it is possible to automatically disconnect the items from the lots. A necessary condition is that a position/lot has been selected in each line of the item.

For this function, paste the following code into the settings in the corresponding document