| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_lien_gerb |
Fonctionnalité : Préparation RF |
| Schémas d’entrée et de sortie : | voir en fin de document. |
The API determines the stacking mode and returns parcels ID of stacked objects.
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 |
| Détail : |
If the parameter ‘LCONSO’ is not active and the parameter ‘LOGGER’ is not active , the API returns an error code 0. Read the logistic stock parcel data (LCOL) with the input parameters (sigdep, idobjcol). If the parcel does not exist, the API returns an error code 0. If the parameter ‘LCONSO’ is active. Call the function gnc_gerbage_liste_lconso , as so to collect the parcels data. If there is more than 1 read parcel. Consider that a stacking link exist (ParamOut1 is set to ‘O’), the API returns 1. For all read parcels collect logistic stock parcel ID and return them as output parameters. If read parcel is 1 or less than 1. Consider that the pallet is set on the ground (ParamOut1 is set to ‘N’), the API returns an error code 0. Call the function gnc_zone_gere, as so to read the upper parcel data from a given customized field which number is taken from N1 field of parameter ‘LOGGER ’. Call the function gnc_zone_gere, as so to read the lower parcel data from a given customized field which number is taken from N2 field of parameter ‘LOGGER’. If the upper and lower parcels are not found. It is consider that the pallet is set on the ground (ParamOut1 is set to N). The API returns 1. Otherwise For each lower not empty parcel data Read another logistic stock parcel data (LCOL ) with (sigdep = input parameter, idobjcol = lower parcel ID ). Call the function gnc_zone_gere, as so to read the lower parcel data from a given customized field which number is taken from field N2 of parameter ‘LOGGER’. If found lower parcel ID is equal to input parcel ID Consider that there is a cyclic link (ParamOut1 is set to C). The API returns an error code 0 Call the function gnc_zone_gere, as so to read the upper parcel data from a given customized field which number is taken from field N1 of parameter ‘LOGGER’. Consider that a stacking link exist (ParamOut1 is set to O). Next ParamOut is set to parcel ID of stock parcel data (lcol.idobjcol). For first 10 upper not empty parcel data Next ParamOut is set to upper parcel ID . Read another logistic stock parcel data (LCOL) with (sigdep = input parameter, idobjcol = upper parcel ID ). Call the function gnc_zone_gere, as so to read the upper parcel data from a given customized field which number is taken from field N1 of parameter ‘LOGGER’. If founded upper parcel ID exist Consider that there are more than 10 stacked palettes (ParamOut1 is set to D). The API returns an error code 0 |
Cas d'erreur
| NOM | DESCRIPTION | FORMAT | OBLIGATOIRE/FACULTATIF |
|---|---|---|---|
| sigdep | Depot ID | Char (12) | O |
| idobjcol | Logistic stock parcel ID (Number of preparation unit) | Char (18) | O |
| NOM | DESCRIPTION | FORMAT |
|---|---|---|
| ParamOut1 |
Stacking mode : O , stacking link exist : N , palet is set on the ground : C, cyclic link : D, more than 10 stacked palettes |
|
| ParamOut2 | Found logistic stock parcel ID 1 (LCOL .idobjcol) | |
| ParamOut3 | Found logistic stock parcel ID 2 (Lcol.idobjcol) | |
| ParamOut4 | Found logistic stock parcel ID 3 (Lcol.idobjcol) | |
| ParamOut5 | Found logistic stock parcel ID 4 (Lcol.idobjcol) | |
| ParamOut6 | Found logistic stock parcel ID 5 (Lcol.idobjcol) | |
| ParamOut7 | Found logistic stock parcel ID 6 (Lcol.idobjcol) | |
| ParamOut8 | Found logistic stock parcel ID 7 (Lcol.idobjcol) | |
| ParamOut9 | Found logistic stock parcel ID 8 (Lcol.idobjcol) | |
| ParamOut10 | Found logistic stock parcel ID 9 (Lcol.idobjcol) | |
| ParamOut11 | Found logistic stock parcel ID 10 (Lcol.idobjcol) | |
| ... | ||
| ParamOutN | Found logistic stock parcel ID N (Lcol.idobjcol) |