# 901 - Save Document

> Syslog 4.0 documentation · https://doc.sysdevmobile.com/syslog/extensibility/warehouse-transfers/901-warehouse-transfers-save-document
>
> Função 901 das transferências (Warehouse Transfers): ações EXT_0901 antes, em substituição ou depois de gravar o documento, com inInternalStamp.

901 - (Warehouse Transfers) Save Document

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

### Before

_Input Parameters_

* inInternalStamp – Unique key of the document;

### Replace

_Input Parameters_

* inInternalStamp – Unique key of the document;

_Output Parameters_

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

### After

_Input Parameters_

* inInternalStamp – Unique key of the document;
