| API / APIs Radiofréquence | |
| Version ACE : 5.0-00 | |
|
Package : Standard Sous-programme Basic : Sup_Mission Nom de la gnc : gnc_rf_sup_mission |
Fonctionnalité :Préparation – Inventaire |
| Schémas d’entrée et de sortie : | voir en fin de document. |
Cette API permet de supprimer une mission de préparation ou d’inventaire abandonnée par un opérateur.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| GESMIS - |
Prototype de la fonction Basic
| Sup_Mission (numero_module, idmission) |
| Retour~ |
Messages en sortie
| SUP_MIS~idmission~ |
Valeurs restituées par l’API
| VALEUR | REMARQUE |
| 1 | Retourne toujours 1 |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| 1 | Identification de la mission choisie. |
| 2 |
Si c’est une mission de préparation, mise à jour de l’ordre de préparation (OP) :
|
| 3 |
Si c’est une mission d’inventaire, mise à jour de l’ordre d’inventaire (OI) :
|
| 4 | Suppression de la mission choisie. |
| Détail : |
Read the depot of the operator. Read the mission data (LMIS). If the mission entity type is a picking list (lmis.typentite=3). Read the picking list data (LOP.idop = lmis.identite). If the picking list is affected (lop.statut=5). The operateur is deallocated (lop.utival = ‘’) Change the status of the picking list to ‘pending’ (lop.statut=1). Get the ID of the user assigned to the mission (option D1 of the parameter GESMIS). If the ID is a valid operator (control in LOPR table) it is stored in lop.utival field. If the mission entity type is an inventory order (lmis.typentite=4). Read the inventory order data (LOI.idoi = lmis.identite). Change the status of the inventory order to ‘Entry in progress’ (loi.statut=2). Delete the mission data. |
Exemple(s) d’utilisation
| Ret = Sup_Mission (numero_module, idmission) |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| idmission | CHAR | 10 | O | Identifiant de la mission. |
Aucun.