# 301 - Save Document

301 - (Store In) Save Document

| **Event**           | **Extension action set** | **Description**                                                                                                            |
| ------------------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------- |
| [Before ](#before)  | EXT\_0301\_1\_Before     | Will be executed before Syslog APP saves the store in;                                                                     |
| [Replace](#replace) | EXT\_0301\_2\_Replace    | Will be executed before Syslog APP saves the store in with the possibility to say Syslog APP to cancel the saving process; |
| [After](#after)     | EXT\_0301\_3\_After      | Will be executed after the store in is saved;                                                                              |

### Before

*Input Parameters*

* input parameters
* inFilterCabDoc

*Output Parameters*

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

### Replace

*Input Parameters*

* input parameters
* inFilterCabDoc

*Output Parameters*

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

### After

*Input Parameters*

* inFilterCabDoc
* inErroIntegracao
* inStampDocGerado
