| API / APIs Radiofréquence | |
| Version ACE : 1.4 | |
| Package : Standard GNC_SCE_LOGIS_019 | Fonctionnalité : Préparation |
| Schémas d’entrée et de sortie : | voir en fin de document. |
Cette API permet de lancer une vacation de réapprovisionnement.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| RAS. |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| 1 | Appel gnc_egx_debut |
| 2 |
Décodage des paramètres Lire la vacation, si n’existe pas, message d’erreur LVACE(codsoc, typdep, sigdep, idvac) |
| 3 |
Si le statut de la vacation < ‘3’ Appeler gnc_or_traitement(lvace.codsoc, lvace.typtie, lvace_sigtie, lvace.idvac) Si le code retour <> ut_bon sortir en erreur. Code message : ‘PB_GEN’ |
| 4 | Appel gnc_egx_fin |
| Détail |
Read the wave header data (LVACE), which corresponds to the input parameters (‘typdep’, ‘sigdep’ and ‘idvac’). If the wave header does not exist, the API returns an error message "ELT_PASTRO" and an error code 0. If the wave header data is in status pending (statut=1) or in status preparation (statut=2). Call the function gnc_or_traitement, as so to launch the replenishment wave. If the function does not succeed, the API returns an error message “PB_GEN” and an error code 0. |
Cas d'erreur
| CODE | PARAMÈTRES | DESCRIPTION |
|---|---|---|
| 0/ELT_PASTRO | Lvace, lvace.typtie, lvace.sigtie, lvace.idvac | The wave data header does not exist. |
| 0/“PB_GEN” | Lvace, lvace.typtie, lvace.sigtie, lvace.idvac | Problem in generation of the wave header data. |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| Typdep | Char | 3 | O | Type de dépôt | |
| Sigdep | Char | 12 | O | Sigle du dépôt | |
| Idvac | Long | O | Numéro de vacation |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | REMARQUE |
| RAS. |