# 404 - Serial Number Validation (grid only)

404 - (Others Documents) Serial Number Validation (grid only)

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

### Before

*Input Parameters*

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

*Output Parameters*

* outContinue – Return code:
  * 1 - Continue Validation
  * 0 – Cancel

### Replace

*Input Parameters*

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

*Output Parameters*

* outContinue – Return code:
  * 1 - Continue Validation
  * 0 - Cancel&#x20;
* outSerialNumber – Return Serial Number if the result is multi-serial numbers return serial number separated by VAR(SEP\_ACL)

### After

*Input Parameters*

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

*Output Parameters*

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/syslog-extensibility/functions-syslog-kalipso/others-documents/404-others-documents-serial-number-validation-grid-only.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
