# EXT\_Visits\_GetVisitStatus

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/visits/ext_visits_getvisitstatus
>
> EXT_Visits_GetVisitStatus devolve o estado da visita a um cliente ou local de entrega num módulo (suspensa, check-in possível ou já feito).

Function to ask MSS for the status of the visit for a customer.

_Input Parameters:_

* inCustomerCode - Customer code to validate;
* inDeliveryPlaceCode - Delivery place code to validate, can be empty;
* inMSSModule - Code of the module of MSS. See the list with the module codes below.

_Output Parameters:_

* outResultCode - Return code:
  * 0 - Error;
  * 1 - Only used by MSS when the application starts;
  * 2 - Resume a suspended visit (Returns the date and hour of the suspended visit);
  * 3 - Exists 1 suspended visit but remains suspended (Returns the date and hour of the suspended visit);
  * 4 - Can create check in on customer/delivery place;
  * 5 - Check in already made for current customer/delivery place;
* outVisitDate - Date of the visit (VISDTI) when outResultCode = 2 or 3;
* outVisitHour - Hour of the visit (VISHRI) when outResultCode = 2 or 3;

**MSS Modules**

* OLR - Consultas
* DSB - Dashboard
* CTG - Catálogo
* DCL - Desbloquear
* INQ - Inquéritos
* PPT - Prospecção
* POS - Mobile POS
* EQP - Equipamentos
* PAG – Pagamentos por Conta
* ART - Artigos
* CLI - Clientes
* COB - Cobranças
* DES - Despesas
* DIA - Diário
* DOC - Documentos
* ENC - Encomendas
* ENT - Entregas
* FDI - Fim Dia
* IDI - Inicio Dia
* REC - Recibos
* STK - Stock
* VIS - Relatórios de Visita
* VEN - Vendas
* AGD - Agenda
* PRP - Prospects
* IGC - Imprimir Guia de Transporte
* DEP - Depósitos
* FRN - Fornecedores
* CMP - Compras
* SRV - Servicos
* RPT - Reports
* KAL - Kalipso
