| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_annul_prise |
Fonctionnalité : SCE Mobile |
| Schémas d’entrée et de sortie : | voir en fin de document. |
This API updates an initial movement and the corresponding logistic stock object with the data from the virtual output movement and deletes the virtual input and output movements.
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 |
| Look for the first stock movement data (LMVTSTK), which is addressed (statut = ‘3’) and has an output sign (sensmvt = ‘S’) with the input parameters (typtie, sigtie, idobj). | |
|
If the stock movement is found and its logistic store type is virtual (typmag = ‘11’) and it is addressed (statut = ‘3’). Call the function gnc_maj_mvtstk, as so to modify the stock movement with the data from the virtual output stock movement and to delete the virtual input and output stock movements. If the execution of the function gnc_maj_mvtstk is not successful, the API returns an error code 0. Read the logistic stock object data (LOBJSTK) with (lmvtstk.typtie, lmvtstk.sigtie, lmvtstk.idobj). If the logistic stock object is found. Modify the logistic stock object’s store and slot address (lcodmag = lmvtstk.lcodmag, adremp = lmvtstk.adremp). If the modification is not successful, the API returns an error code 0. |
Cas d'erreur
| CODE | PARAMÈTRES | DESCRIPTION |
|---|---|---|
| 0 | The execution of the function "gnc_maj_mvtstk" is not successful. | |
| 0 | The update of the logistic stock object (LOBJSTK) is not successful. |
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| typtie | Type de tiers | CHAR(3) | O |
| Sigtie | Sigle du dépôt | CHAR(12) | O |
| idobj | Identifiant de l'objet de stock | CHAR(18) | O |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| Aucun |