API RF RECH_ECL_X

  Version ACE : 1.4

Package : Standard

Sous-programme Basic : gnc_rf_recherche_eclatement_egx

Fonctionnalité :SCE Mobile
Schémas d’entrée et de sortie : voir en fin de document.

Cette API permet de rechercher une mission d’éclatement et de l’affecter à un agent.

API imbriquées : aucune.

Contraintes et limites de fonctionnement (hors périmètre)

RAS.

Paramétrage (PPE)

RAS.

Cas d'erreur

CODE PARAMÈTRES DESCRIPTION
3 / ELT_PASTRO lopr, typtie, sigtie, operateur The RF operator is not found. (Error in gnc_rf_affect_miss_ecl funciton).
0 / RFECL01001   There’s no more deconsolidation mission.

Détail de l'API

Read the RF deconsolidation missions (lmis.ltypact = ‘7’) affected to the operator (lmis.statut = ‘5’ and lmis.utimis = idopr) or just created (lmis.statut = 1). The reading is ordered descending by lmis.statut, lmis.urgence fields.

If no RF deconsolidation mission found.

Read the RF deconsolidation missions (lmis.ltypact = ‘7’) created(lmis.statut = 1) or blocked (lmis.statut = 2). The reading is ordered ascending by lmis.statut field and descending by lmis.urgence field.

If no RF deconsolidation mission found, the api returns code 0 with parameter RFECL01001.

Call the function gnc_rf_affect_miss_ecl, as so to assign the mission to the operator.

If the execution of the function is successful, the output parameters are filled.

Otherwise, the API returns the error code returned by the function gnc_rf_affect_miss_ecl.

Paramètres en entrée

NOM DU PARAMÈTRE TYPE FORMAT TAILLE OBL O/N REMARQUE
typtie   Char(3)   O Third-party type
sigtie   Char(12)   O Third-party ID
idopr   Char(8)   O Operator ID

Paramètres en sortie

NOM DU PARAMÈTRE FORMAT REMARQUE
ParamOut1 Char(3) Third-party type (typtie input parameter)
ParamOut2 Char(12) Third-party ID (sigtie input parameter)
ParamOut3 Char(8) Operator ID (idopr input parameter)
ParamOut4 Number Found mission ID (lmis.idmission)