| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_grp_0001 |
Fonctionnalité :Général |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The API validates the scanned code of the object and creates a corresponding counting line for that object afterwards. If the logistic store type is ‘Picking’ the API also collects information about the product container.
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 |
| Détail : |
If logistic store type is picking (input parameter typmag = 3 ). The input parameter ‘ mode’ for the function gnc_rf_scan_valide is set to ‘P’ (Picking). Otherwise. The input parameter mode for the function gnc_rf_scan_valide is set to ‘R’ (Reserve). Call the function gnc_rf_scan_valide , as so to validate the scanned code of the stock object. If the execution of the function is not successful, the API returns its error code. If the logistic store type is picking (input parameter typmag = 3 ). The input parameter idobj is set to an empty value. Call the function gnc_rf_ligne_pour_objet , as so to create a counting line for the stock object. If the execution of the function is not successful, the API returns its error code. If the logistic store type is picking (input parameter typmag = 3 ). Call the function gnc_rf_prl , as so to collect information about a specific product container . If the execution of the function is not successful, the API returns its error code. |
Erreurs possibles
| CODE | DESCRIPTION |
|---|---|
| 3 | No stock object found with a slot address corresponding to the input slot address. (returned from the function gnc_rf_scan_valide ) |
| 3 | More than one stock objects found and the input mode is not ‘Picking’. (returned from the function gnc_rf_scan_valide ) |
| 2 | More than one stock objects found and the input mode is not ‘Picking’. (returned from the function gnc_rf_scan_valide ) |
| 3 | The stock object is not found. (returned from the function gnc_rf_scan_valide ) |
| 50 | The product is not found. (returned from the function gnc_rf_scan_valide ) |
| 0 | The product is not found. (returned from the function gnc_rf_ligne_pour_objet ) |
| 0 | The inventory line is not found. (returned from the function gnc_rf_ligne_pour_objet ) |
| 99 | Inventory line’s logistic store type is ‘picking’ and the inventory line’s ‘entry flag’ is different from 1, 2 and 3. (returned from the function gnc_rf_ligne_pour_objet ) |
| 0 | The logistic variant is not found. (returned from the function gnc_rf_prl ) |
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| typdep | Depot type | Char(3) | O |
| sigdep | Depot ID | Char (12) | O |
| idoi | Inventory number | Char(7) | O |
| numcompte | Current counting number | Char(1) | O |
| codallcir | Circulation line code | Char(8) | N |
| lcodmag | Logistic store code | Char(3) | O |
| obj | Object ID | Char (18) | O |
| adremp | Slot address | Char (10) | O |
| reflot | Lot reference | Char(30) | N |
| typmag | Logistic store type | Char(3) | N |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 | Product code (LINVL.codpro) | Char(16) |
| ParamOut2 | Number of containers (linvl.qteinvent) | Number |
| ParamOut3 | Container type (linvl.cnttyp) | Char(2) |
| ParamOut4 | Container code (linvl.cntcod) | Char(2) |
| ParamOut5 | Real counting level (LINVL.nivcptqte) | Char(1) |
| ParamOut6 | Inventory row number (linv.numligoi) | Char(10) |
| ParamOut7 | Number of line sequence (linv.numseqlig) | Number |
| ParamOut8 | Lot reference (OST.reflot) | Char(30) |
| ParamOut9 | Limit consummation date (ost.datlc) | Char(8) |
| ParamOut10 | Packing code (LOBJSTK.codemb) | Char(16) |
| ParamOut11 | Product name (PRO.nompro) | Char(30) |
| ParamOut12 | Shipment flag (O/N) | Char(1) |
| ParamOut13 | Thirdparty type associated with the delivery (LOLE.typliv) | Char(2) |
| ParamOut14 | Thirdparty ID associated with the delivery (lole.sigliv) | Char(12) |
| ParamOut15 | Operation code (lole. codeop ) | Char(12) |
| ParamOut16 |
Inventory line user flag (1/0) 1 = LINVL.uticomp is not empty and its first carachter is not ‘-’ |
Char(1) |
| ParamOut17 | First Slot address (linvl. adremp ) | Char(10) |
| ParamOut18 | Lot number for supplier (ost parameterized field refered by the field N2 of the parameter ‘PRXLOT’) | Char(40) |
| ParamOut19 | Stock tracking (PRO .suistk) | Char(1) |
| ParamOut20 | Slot tracking type (O/L) | Char(3) |
| ParamOut21 | Object ID (idobj input parameter) | Char(19) |
| ParamOut22 (Parameter presented only if the logistic store type is picking ) | Code of the stock level (PRL .codlnst) | Char(1) |
| ParamOut23 (Parameter presented only if the logistic store type is picking ) | Container type level 1 (prl.cnttyp1) | Char(2) |
| ParamOut24 (Parameter presented only if the logistic store type is picking ) | Container code level 1 (prl.cntcod1) | Char(2) |
| ParamOut25 (Parameter presented only if the logistic store type is picking ) | Quantity of CU ( qteunt, collected after the first read of the logistic variant with all input parameters) | Number |
| ParamOut26 (Parameter presented only if the logistic store type is picking ) | Gross weight (poidsbrut, collected after the first read of the logistic variant with all input parameters) | Double |
| ParamOut27 (Parameter presented only if the logistic store type is picking ) | Container type level 5 (PRL.cnttyp5) | Char(2) |
| ParamOut28 (Parameter presented only if the logistic store type is picking ) | Container code level 5 (prl.cntcod5) | Char(2) |
| ParamOut29 (Parameter presented only if the logistic store type is picking ) | Container quantity of CU level 5 (prl.qteunt5) | Number |
| ParamOut30 (Parameter presented only if the logistic store type is picking ) | Container type level 4 (prl.cnttyp4) | Char(2) |
| ParamOut31 (Parameter presented only if the logistic store type is picking ) | Container code level 4 (prl.cntcod4) | Char(2) |
| ParamOut32 (Parameter presented only if the logistic store type is picking ) | Container quantity of CU level 4 (prl.qteunt4) | Number |
| ParamOut33 (Parameter presented only if the logistic store type is picking ) | Container type level 3 (prl.cnttyp3) | Char(2) |
| ParamOut34 (Parameter presented only if the logistic store type is picking ) | Container code level 3 (prl.cntcod3) | Char(2) |
| ParamOut35 (Parameter presented only if the logistic store type is picking ) | Container quantity of CU level 3 (prl.qteunt3) | Number |
| ParamOut36 (Parameter presented only if the logistic store type is picking ) | Container type level 2 (prl.cnttyp2) | Char(2) |
| ParamOut37 (Parameter presented only if the logistic store type is picking ) | Container code level 2 (prl.cntcod2) | Char(2) |
| ParamOut38 (Parameter presented only if the logistic store type is picking ) | Container quantity of CU level 2 (prl.qteunt2) | Number |