# 800 - Visits Module

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/visits/800-visits-visits-module
>
> Eventos EXT_0800 Before/Replace/After ao abrir e fechar o módulo Visitas, com cliente e local de entrega e outOpenMSSModule no Replace.

800 - Visits Module

| Event                                          | Extension action set  | Description                                          |
| ---------------------------------------------- | --------------------- | ---------------------------------------------------- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/visits/800-visits-visits-module.md#before)  | EXT\_0800\_1\_Before  | Will be executed before MSS opens the Visits module; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/visits/800-visits-visits-module.md#replace) | EXT\_0800\_2\_Replace | Will replace MSS Visits module;                      |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/visits/800-visits-visits-module.md#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;
