# 201 - Save Document

201 - (Packing) Save Document

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

### Before

*Input Parameters*

* inFilterCabDoc – Unique key of the document;

*Output Parameters*

* outCanSave - 1 – Save the document / 0 – Cancel

### Replace

*Input Parameters*

* *inFilterCabDoc – Unique key of the document;*&#x20;

*Output Parameters*

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

### After

*Input Parameters*

* inFilterCabDoc – Unique key of the document;
