# 2410 - Open Service

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2410-services-open-service
>
> Eventos EXT_2410 ao abrir um serviço para registar o trabalho; o Replace substitui o módulo ou valida antes de abrir, com outRunMSSCode.

2410 - Open Service

| Event | Extension action set | Description |
| --- | --- | --- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2410-services-open-service.md#before) | EXT_2410_1_Before | Will be executed before MSS open the service to register the work; |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2410-services-open-service.md#replace) | EXT_2410_2_Replace | Will replace MSS services module to register the work, can be used also to create validations before open MSS service module using the output parameter **outRunMSSCode**; |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/services/2410-services-open-service.md#after) | EXT_2410_3_After | Will be executed after the Service screen is closed; |

### Before

_Input Parameters_

* inServiceExercise – Exercise of the service (SRVEXR);
* inServiceSeries – Serie of the service (SRVSER);
* inServiceNumber – Number of the service (SRVNDC);

### Replace

_Input Parameters_

* inServiceExercise – Exercise of the service (SRVEXR);
* inServiceSeries – Serie of the service (SRVSER);
* inServiceNumber – Number of the service (SRVNDC);

_Output Parameters_

* outRunMSSCode – when replacing MSS module must return 0(zero), if working as validations can return 1 so MSS opens the Service or 0 to ignore MSS code;

### After

_Input Parameters_

* inServiceExercise – Exercise of the service (SRVEXR);
* inServiceSeries – Serie of the service (SRVSER);
* inServiceNumber – Number of the service (SRVNDC);
