API RF VALCHGEQU

  Version ACE : 1.3

Package : Standard

Nom de la gnc : gnc_rf_val_change_equip

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

The API changes the equipment profile and the equipment identifier of an operator.

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
72   Equipment does not exists

Processus, contrôles et règles de gestion

ETAPE DESCRIPTION DU PROCESSUS
Détail :

Read the depot of the operator.

Read the equipment data (LEQU).

If the equipment does not exist, the API returns 72.

Read the Operator data (LOPR).

Create an equipment profile (lopr.prfequip = Prfequip) and the equipment identifier of the operator (lopr.idequip = lopr.idequip).

Register the equipment in the history table for that data (LHSTEQU). (lhstequ.prfequip = Prfequip, lhstequ.idequip = lopr.idequip).

Set the end date (lhstequ.datfinuti) and the end time (lhstequ.heufinuti) for the previous equipment identifier (lhstequ.numequip--).

Paramètres en entrée

NOM DU PARAMÈTRE TYPE FORMAT TAILLE OBL O/N REMARQUE
prfequip CHAR   4 O Equipment profile
idequip CHAR   10 O Equipment identifier
idopr CHAR   8 O Current operator identifier

Paramètres en sortie

NOM DU PARAMÈTRE TYPE FORMAT TAILLE REMARQUE
Aucun.