| API / APIs Radiofréquence | |
| Version ACE : 1.4 | |
|
Package : Standard Sous-programme Basic : gnc_rf_valide_prise_produit_egx |
Fonctionnalité :SCE Mobile |
| Schémas d’entrée et de sortie : | voir en fin de document. |
For the input picking list and address parameters, the API finds a movement and makes substitution of the found movement stock object and the input stock object if possible. The API checks existence of the stock object for the product and the address of the found movement.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| RAS. |
| CODE | DESCRIPTION |
|---|---|
| 0/’RFPRE01013’ | No corresponding movement found. |
| 0/’OBJSTK_INEX’ | Stock object does not exist (error returned from the function gnc_rf_verif_codif_produit). |
| 0/’OBJET_INADAPTE’ | Object is not suitable for substitution (error returned from the function gnc_rf_verif_codif_produit). |
| 0/’RFPRE01008’ | Stock object does not exist. |
Read the Picking List data (LOP) with the input parameters (typtie, sigtie and idop).
For each movement (lmvtstk table) with ‘output’ direction (sensmvt=’S’), in status ‘addressed’ or lower (statut <= ’3’) and corresponding to the picking list data (LOP.typtie, LOP.sigtie, LOP.typmvt, LOP.idop).
If the input parameter ‘lcodmag’ is equal to the logistic store code of current movement and the input parameter ‘adremp’ is equal to the slot address of current movement.
The movement is considered as found.
If there is no found movement, the API returns the error message RFPRE01013 and the error code 0.
Call the function gnc_rf_verif_codif_produit to verify if the scanned object corresponds to a real product, gencod or dun14 or lot reference. The function cheks also if the entry stock object (idobj) and the mouvement stock object (LMVTSTK .idobj) are suitable for substitution (same product, same palettization plan, no outstandings) .The function do the substitution if possible.
If there is no suitable object found, the API returns the error code 0.
Read the logistic stock object data (LOBJSTK) for the picking list data (LOP.typtie, LOP.sigtie) and for the found movement data (LMVTSTK .lcodmag, LMVTSTK.adremp, LMVTSTK.codpro )
If there is no found logistic stock object, the API returns the error message RFPRE01008 and the error code 0.
Return the code 1.
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| typtie | Third-party type | Char(3) | O |
| sigtie | Third-party ID | Char(12) | O |
| idmission | Mission ID | Number | O |
| idobj | Stock object ID | Char(30) | O |
| idop | Picking list ID | Number | O |
| lcodmag | Logistic store code | Char(3) | O |
| adremp | Slot address | Char(10) | O |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 | Third-party type (typtie input parameter) | Char(3) |
| ParamOut2 | Third-party ID (sigtie input parameter ) | Char(12) |
| ParamOut3 | Container type (prl.codva2) | Char(2) |
| ParamOut4 | Container code (prl.cntcod) | Char(2) |
| ParamOut5 | Product code (lobjstk.codpro) | Char(16) |