# 800 - Visits Module

800 - Visits Module

| Event               | Extension action set  | Description                                          |
| ------------------- | --------------------- | ---------------------------------------------------- |
| [Before ](#before)  | EXT\_0800\_1\_Before  | Will be executed before MSS opens the Visits module; |
| [Replace](#replace) | EXT\_0800\_2\_Replace | Will replace MSS Visits module;                      |
| [After](#after)     | EXT\_0800\_3\_After   | Will be executed after closing the Visits module;    |

### Before

*Input Parameters (event before):*

* inCustomerCode – Customer code to select automatically;
* inDeliveryPlaceCode – Delivery place to select automatically;

### Replace

*Input Parameters*

* inCustomerCode – Customer code to select automatically;
* inDeliveryPlaceCode – Delivery place to select automatically;

*Output Parameters*

* outOpenMSSModule – Return code: 1 – Open MSS module / 0 – Don’t open MSS module;

### After

*Input Parameters*

* inCustomerCode – Customer code to select automatically;
* inDeliveryPlaceCode – Delivery place to select automatically;
