# 305 - Document Barcode Validation Form

305 - (Store In) Document Barcode Validation Form

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

### Before

*Output Parameters*

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

### Replace

*Output Parameters*

* outContinue – Return code:
  * 1 - Continue Validation
  * 0 – Cancel&#x20;
* outDocumentBarcode – Return barcode document if the result is multi-document numbers return document numbers separated by VAR(SEP\_ACL)

### After

*Input Parameters*

* inCodigoFornecedor – Supplier Number&#x20;
* inDocumentBarcode – Document Barcode

*Output Parameters*

* outContinue – Return code:&#x20;
  * 0 - Cancel&#x20;
  * 1 – Continue&#x20;
* outCodigoFornecedor – Supplier Number&#x20;
* outDocumentBarcode – Document Barcode&#x20;
* outActualizarListaDocumentos
  * 1 – Refresh document list&#x20;
  * 0 – Don’t refresh document list


---

# 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/store-in/305-store-in-document-barcode-validation-form.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.
