Saltar para o conteúdo principal

2412 - Service Change of State

2412 - Service Change of State

EventExtension action setDescription
Before EXT_2412_1_BeforeWill be executed before MSS changes the state of the service;
ReplaceEXT_2412_2_ReplaceWill replace MSS change state code, can be used also to create validations before MSS changes the state of the service using the output parameter outRunMSSCode;
AfterEXT_2412_3_AfterWill be executed after MSS changes the state of the service;

Before​

Input Parameters

  • inServiceExercise – Exercise of the service (SRVEXR);
  • inServiceSeries – Serie of the service (SRVSER);
  • inServiceNumber – Number of the service (SRVNDC);
  • inPreviousState – Code of the current State (SRVSTS);
  • inNewState – Code of the new State (SRVSTS);

Replace​

Input Parameters

  • inServiceExercise – Exercise of the service (SRVEXR);
  • inServiceSeries – Serie of the service (SRVSER);
  • inServiceNumber – Number of the service (SRVNDC);
  • inPreviousState – Code of the current State (SRVSTS);
  • inNewState – Code of the new State (SRVSTS);

Output Parameters

  • outRunMSSCode – when replacing MSS module must return 0(zero), if working as validations can return 1 so MSS changes the state of the service, 0 to ignore MSS code or -1 to abort the operation;

After​

Input Parameters

  • inServiceExercise – Exercise of the service (SRVEXR);
  • inServiceSeries – Serie of the service (SRVSER);
  • inServiceNumber – Number of the service (SRVNDC);
  • inPreviousState – Code of the previous State (SRVSTS);
  • inNewState – Code of the current State (SRVSTS);