# 101 - Save Document

> Syslog 4.0 documentation · https://doc.sysdevmobile.com/syslog/extensibility/picking/101-picking-save-document
>
> Função 101 do picking: ações EXT_0101 executadas antes, em substituição ou depois de gravar o picking, com os parâmetros de entrada e saída.

101 - (Picking) Save Document

| **Event**                                       | **Extension action set** | **Description**                                                                                                               |
| ----------------------------------------------- | ------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/syslog/extensibility/picking/101-picking-save-document.md#before)  | EXT\_0101\_1\_Before     | Will be executed before Logistic APP saves the picking;                                                                       |
| [Replace](https://doc.sysdevmobile.com/syslog/extensibility/picking/101-picking-save-document.md#replace) | EXT\_0101\_2\_Replace    | Will be executed before Logistic APP saves the picking with the possibility to say Logistic APP to cancel the saving process; |
| [After](https://doc.sysdevmobile.com/syslog/extensibility/picking/101-picking-save-document.md#after)     | EXT\_0101\_3\_After      | Will be executed after the picking is saved;                                                                                  |

### Before

_Input Parameters_

* inFilterCabDoc – Unique key of the document;
* inBarcode

_Output Parameters_

* outContinue - 1 – Save the document / 0 – Cancel
* outRef
* outBarcodeQuantity

### Replace

_Input Parameters_

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

_Output Parameters_

* outCanSave – Return code: 1 – Save the document / 0 – Cancel
* outContinue - Return code: 1 – Save the document / 0 – Cancel

### After

_Input Parameters_

* inFilterCabDoc – Unique key of the document
