> 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-1/store-in3/305-3.md).

# 305 - (Store In) Document Barcode Validation Form

305 - (Store In) Document Barcode Validation Form

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

*Input Parameters (event before)*:

* inBarCodeDocument – Document Barcode

*Output Parameters (event before)*:

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

*Input Parameters (event replace)*:

* inRef – Item Code;
* inSerialNumber – Serial number;

*Output Parameters (event replace)*:

* 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)

*Input Parameters (event after)*:

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

*Output Parameters (event after)*:

* 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
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, and the optional `goal` query parameter:

```
GET https://doc.sysdevmobile.com/syslog-extensibility/functions-syslog-kalipso-1/store-in3/305-3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
