| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_lec_valzn_lmi |
Fonctionnalité : Préparation RF |
| Schémas d’entrée et de sortie : | voir en fin de document. |
Cette API permet d’obtenir des informations sur un mode d'inventaire donné.
API imbriquées : aucune
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| Initialization |
Initialize the ParamOut1 output parameter with ‘O’. Initialize the ParamOut2 output parameter with ‘N’. Initialize the ParamOut3 output parameter with ‘N’. Initialize the ParamOut4 output parameter with ‘N’. Initialize the ParamOut5 output parameter with ‘N’. Initialize the ParamOut6 output parameter with ‘N’. Initialize the ParamOut7 output parameter with ‘N’. Initialize the ParamOut8 output parameter with ‘N’. Initialize the ParamOut9 output parameter with ‘O’. Initialize the ParamOut10 output parameter with ‘N’. Initialize the ParamOut11 output parameter with an empty string. Initialize the ParamOut12 output parameter with an empty string. Initialize the ParamOut13 output parameter with ‘N’. Initialize the ParamOut14 output parameter with an empty string. Initialize the ParamOut15 output parameter with an empty string. Initialize the ParamOut16 output parameter with an empty string. |
|
The cle_table parameter is decomposed to typtie, sigtie and modinv parameters. Read the inventory mode data (LMODINV) with the input parameter ( typtie, sigtie and modinv ). If the inventory mode does not exist, the API returns an error code 0. If the parameter LINV is active. If the parameter field N1 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field N1 is copied in the ParamOut1 output parameter. If the parameter field N2 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field N2 is copied in the ParamOut2 output parameter. If the parameter field N3 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field N3 is copied in the ParamOut3 output parameter. If the parameter field N4 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field N4 is copied in the ParamOut4 output parameter. If the parameter field N5 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field N5 is copied in the ParamOut5 output parameter. If the parameter field D1 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field D1 is copied in the ParamOut6 output parameter. If the parameter field D2 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field D2 is copied in the ParamOut7 output parameter. If the parameter field D3 is different from 0, the value of the ’lmodinv’ parameterized fields referred by the parameter field D3 is copied in the ParamOut8 output parameter. If the parameter field A2 is not empty, the value of the ’lmodinv’ parameterized fields referred by the parameter field A2 is copied in the ParamOut9 output parameter. If the parameter field A3 is not empty, the value of the ’lmodinv’ parameterized fields referred by the parameter field A3 is copied in the ParamOut10 output parameter. If the parameter field M1 is not empty, the value of the ’lmodinv’ parameterized fields referred by the parameter field M1 is copied in the ParamOut11 output parameter. If the parameter field M2 is not empty, the value of the ’lmodinv’ parameterized fields referred by the parameter field M2 is copied in the ParamOut12 output parameter. Otherwise the API returns an error code 0. If the parameter LINV01 is active and the parameter field N4 is different from 0, the value of the ‘lmodinv’ parameterized field referred by the parameter field N4 is copied in the ParamOut13 output parameter. If the parameter POIVAR is active and the parameter field N1 is different from 0 and the parameter field A1 is equal to ‘O’, the value of the parameter field A2 is copied in ParamOut14 output parameter and the value of the parameter field N1 is copied in ParamOut15 output parameter. If the parameter CADOS is active and the parameter field N3 is different from 0, the value of the parameter field N3 is copied in ParamOut16 output parameter. If the value of ParamOut5 output parameter is equal to ‘A’ or ‘O’, the value ‘O’ is copied in ParamOut5, otherwise the value ‘N’ is copied in ParamOut5. |
Cas d'erreur
| CODE | DESCRIPTION |
|---|---|
| 0 | The parameter LINV is not active. |
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| cle_table | Table key | Char(49) | O |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 | Flag indicated, whether the entry of the quantity should be done “en aveugle” (‘O’ – Yes, ‘N’ - No). | Char(40) |
| ParamOut2 | Flag indicated, whether the entry of the packing should be done “en aveugle” (‘O’ – Yes, ‘N’ - No). | Char(40) |
| ParamOut3 | Flag indicated, whether the entry of the limit date of consumption (DLC) should be done “en aveugle” (‘O’ – Yes, ‘N’ - No). | Char(40) |
| ParamOut4 | Flag indicated, whether the entry of the reference lot should be done “en aveugle” (‘O’ – Yes, ‘N’ - No). | Char(40) |
| ParamOut5 |
Flag indicated, whether there is weight entry only for the reserve in RF and/or the entry is “en aveugle” ‘O’ – no entry AND “aveugle” ‘N’ - no entry AND no “aveugle” ‘A’ – has entry AND “aveugle” ‘B’ - has entry AND no “aveugle” |
Char(40) |
| ParamOut6 | Flag indicated, whether the confirmation messages are displayed (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut7 | Flag indicated, whether there is an entry of the packing code (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut8 | Flag indicated, whether there is an entry of the limit date of consumption (DLC) (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut9 | Flag indicated, whether there is an entry of the slot code (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut10 | Flag indicated, whether there is a possibility of an entry of the broken picking. (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut11 | Tolerance of the quantity. | Char(40) |
| ParamOut12 | Tolerance of the weight. | Char(40) |
| ParamOut13 | Flag indicated, whether the entry is a lot (‘O’ – Yes, ‘N’- No). | Char(40) |
| ParamOut14 | Value of the parameterized field of the testing product, which indicates whether the product weight is variable. | Char(40) |
| ParamOut15 | Number of the parameterized field of the product, which indicates whether the weight of the product is variable. | Number |
| ParamOut16 | Number of the parameterized field of the product datasheet, which indicates the duration of the product life. | Number |