| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_cloture_rec |
Fonctionnalité :Général |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The API closes a simple reception or deletes the corresponding addressed movements (lmvtstk.statut = 3) if the reception closing is not successful.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| LRECAD - |
Cas d’erreurs
| CODE | DESCRIPTION |
|---|---|
| Data suppression error code | The error code received after an unsuccessful suppression of a movement data (rel_lmvtstk function). |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| Détail : |
Call the function gnc_rec_cloture_simple_rf with the input parameters (typtie, sigtie, numrec), for closing the simple reception. If the function execution fails: If the parameter LRECAD is active, the parameter field A1 is equal to ‘O’ and the parameter field N1 is different from 0. Read the stock movements data (reading cycle on LMVTSTK table) with the input parameters (typtie, sigtie, numrec). For each stock movement, if its type and sign (typmvt, sensmvt) are equals to ‘E’ and it is addressed (lmvtstk.statut = 3). Delete the movement. If the operation is not successful, break the reading cycle. |
| 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 | ||
| numrec | Char(10) | O | Reception number |
Aucun.