# 202 - (Packing) Barcode Validation

202 - (Packing) Barcode Validation

| **Event** | **Extension action set** | **Description**                                 |
| --------- | ------------------------ | ----------------------------------------------- |
| Before    | EXT\_0202\_1\_Before     | Will be executed before barcode validation;     |
| Replace   | EXT\_0202\_2\_Replace    | Will be executed to replace barcode validation; |
| After     | EXT\_0202\_3\_After      | Will be executed after barcode validation;      |

*Input Parameters (event before)*:

* inFilterCabDoc – Unique key of the document;&#x20;
* inBarcode – Barcode;

*Output Parameters (event before)*:

* outCanSave – Return code:
  * 1 - Continue Validation&#x20;
  * 0 – Cancel

*Input Parameters (event replace)*:

* inFilterCabDoc – Unique key of the document;&#x20;
* inBarcode – Barcode;

*Output Parameters (event replace)*:

* outCanSave – Return code:&#x20;
  * 0- Cancel&#x20;
  * 1 - Done - Barcode inserted into the database, refresh list of articles to pick&#x20;
  * 2 - Continue - Normal behavior

*Input Parameters (event after)*:

* inFilterCabDoc – Unique key of the document;
