> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/syslog-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/syslog-extensibility/functions-syslog-kalipso/packing/202-packing-barcode-validation.md).

# 202 - Barcode Validation

202 - (Packing) Barcode Validation

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

### Before

*Input Parameters*

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

*Output Parameters*

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

### Replace

*Input Parameters*

* inFilterCabDoc – Unique key of the document;&#x20;
* inBarcode – Barcode;
* inLinesSQL
* inMULTI\_DOCUMENT
* inSelectedClient
* inBoStampDocToWork
* inSelectedCabDoc
* inOriginDocType
* inCabUserFieldsList
* inLinUserFieldsList
* inDocName
* inDestinationDocSelected
* inEntityName
* inCloseLine
* inWarehouse
* inAutoMode

*Output Parameters*

* 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

### After

*Input Parameters*

* inFilterCabDoc – Unique key of the document;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/packing/202-packing-barcode-validation.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.
