| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_infos_etiquette |
Fonctionnalité :SCE Mobile |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The API collects the information about a product label.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| RAS. |
Détail de l'API
Read the depot of the operator.
Read the reception header data (LREE) with numrec parameter.
Read the product data (PRO) with codpro parameter.
Read stock product data (DSK) with codpro parameter.
If reflot parameter is filled.
Read the object lot (OST) with reflot parameter.
Calculate the quantity in CU (call the gnc_convqte_uc function using the received cnttyp and cntcod parameters).
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| numrec | Reception number | Char(10) | O |
| reflot | Lot reference | Char(30) | N |
| l_nbrcnt | Number of containers | Char(4) | O |
| cnttyp | Container type | Char(2) | O |
| cntcod | Container code | Char(2) | O |
| codpro | Product code | Char(16) | O |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 | Start time for the reception (LREE.reehdebrec) | Number |
| ParamOut2 | Transport reference (lree.reereftra) | Char(15) |
| ParamOut3 | Start date of the reception (lree.reeddebrec) | Char(8) |
| ParamOut4 | Short product name (PRO.nompro) | Char(30) |
| ParamOut5 | Physical company code (DSK.codsoc_phy) | Number |
| ParamOut6 | Use-by-date (OST.datlc) | Char(8) |
| ParamOut7 | Calculated quantity in CU. | Number |