> 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/others-documents/402-others-documents.md).

# 402 - Barcode Validation

402 - (Others Documents) Barcode Validation

<table data-header-hidden><thead><tr><th>Event</th><th width="232.33333333333331">Extension action set</th><th>Description</th></tr></thead><tbody><tr><td><strong>Event</strong></td><td><strong>Extension action set</strong></td><td><strong>Description</strong></td></tr><tr><td><a href="#before">Before </a></td><td>EXT_0402_1_Before</td><td>Will be executed before barcode validation;</td></tr><tr><td><a href="#replace">Replace</a></td><td>EXT_0402_2_Replace</td><td>Will be executed to replace barcode validation;</td></tr><tr><td><a href="#after">After</a></td><td>EXT_0402_3_After</td><td>Will be executed after barcode validation;</td></tr></tbody></table>

### Before

*Input Parameters*

* inInternalStamp
* inBarcode
* inEntityType
* inEntityNumber

*Output Parameters*

* outContinue - 1 - Continue Validation / 0 – Cancel
* outRef
* outBarcodeQuantity

### Replace

*Input Parameters*

* inInternalStampDoc
* inDocNumber
* inEntityType
* inEntityNumber
* inRef
* inWarehouse
* inDocName
* inEntityName
* inExternalDoc
* inCabUserFieldsList
* inLinUserFieldsList
* inOriginWarehouse
* inDestinyWarehouse
* inAutoMode<br>

*Output Parameters*

* outContinue – 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*

* inInternalStampDoc
* inBarcode
