# 204 - (Packing) Serial Number Validation (grid only)

204 - (Packing) Serial Number Validation (grid only)

| **Event** | **Extension action set** | **Description**                                                   |
| --------- | ------------------------ | ----------------------------------------------------------------- |
| Before    | EXT\_0204\_1\_Before     | Will be executed before barcode validation;                       |
| Replace   | EXT\_0204\_2\_Replace    | This event is executed to replace validation of the serial number |
| After     | EXT\_0204\_3\_After      | Will be executed after serial number validation;                  |

*Input Parameters (event before)*:

* inRef – Item Code&#x20;
* inSerialNumber – Serial number;

*Output Parameters (event before)*:

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

*Input Parameters (event replace)*:

* inRef – Item Code&#x20;
* inSerialNumber – Serial number;

*Input Parameters (event after)*:

* inRef – Item Code&#x20;
* inSerialNumber – Serial number;

*Output Parameters (event after)*:

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