# 307 - End Document Session

307 - (Store In) End Document Session

| **Event**           | **Extension action set** | **Description**                                        |
| ------------------- | ------------------------ | ------------------------------------------------------ |
| [Before ](#before)  | EXT\_0307\_1\_Before     | Code executed before End Document Session              |
| [Replace](#replace) | EXT\_0307\_2\_Replace    | This event is executed to replace End Document Session |
| [After](#after)     | EXT\_0307\_3\_After      | Code executed after End Document Session               |

### Before

*Input Parameters*

* inUserName – Username&#x20;
* inDocList –Documents list

*Output Parameters*

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

### Replace

*Input Parameters*

* inUserName – Username&#x20;
* inDocList –Documents list

*Output Parameters*

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

### After

*Input Parameters*

* inUserName – Username&#x20;
* inDocList –Documents list
