| API / APIs Radiofréquence | |
| Version ACE : 1.3 | |
|
Package : Standard Nom de la gnc : gnc_rf_lecture_lche |
Fonctionnalité : Préparation RF |
| Schémas d’entrée et de sortie : | voir en fin de document. |
Cette API permet de récupérer les informations associées au chariot pour son remplissage de cartons.
API imbriquées : aucune.
Contraintes et limites de fonctionnement (hors périmètre)
| RAS. |
Paramétrage (PPE)
| RAS. |
Valeurs restituées par l’API
| VALEUR | REMARQUE |
| 1 | Chariot OK |
| 2 | Chariot Inexistant |
| 3 | Chariot déjà affecter à un OP |
Processus, contrôles et règles de gestion
| ETAPE | DESCRIPTION DU PROCESSUS |
| L’API rapatrie les informations d’un chariot pour son remplissage (affectation des cartons aux casiers). | |
|
Si ce chariot est déjà affecté à un OP, il est impossible de le modifier. Sinon, l’API fournit le nombre de casiers affectés et le nombre de casiers au total. |
|
| Détail : |
Read the chariot header data (LCHE) with the input parameters ‘typtie’, ‘sigtie’ and ‘idchariot’. If the chariot header exists If the value of the picking list ID (lche.idop) is not equal to 0, the API returns an error code 3 and an error message “RFPIK01002”. Read the chariot line data (reading cycle on LCHL table) with the corresponding chariot header fields (lche.typtie, lche.sigtie, lche.idchariot). If the chariot line is active (lchl.actif = ‘O’), increment the local variable ‘compteur’ by 1. If the carton identifier field (lchl.idcarton) is empty, increment the local variable ‘compteur2’ by 1. Write the value of subtraction (w_compteur - w_compteur2) in the output parameter. If the chariot header does not exist, the API returns an error code 2 and an error message “RFPIK01001”. |
Exemple(s) d’utilisation
|
A~INFO_CHAR~DEP~CESBUN~T7797~ Information demandé pour le chariot T7797 Retour : 1~0~3~ OK, 0 casier affecté sur 3 au total. |
Cas d'erreur
| CODE | PARAMÈTRES | DESCRIPTION |
|---|---|---|
| 3 / RFPIK01002 | LCHE.idop | Chariot already assigned to the picking list. |
| 2 / RFPIK01001 | LCHE.idchariot | Chariot does not exist. |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| typtie | CHAR | 3 | O | Type dépôt | |
| sigtie | CHAR | 12 | O | Sigle dépôt | |
| idchariot | CHAR | 40 | O | Identifiant du chariot |
| NOM DU PARAMÈTRE | TYPE | FORMAT | TAILLE | OBL O/N | REMARQUE |
| ParamOut1 | CHAR | 40 | O | Nombre de casiers du chariot n'ayant pas de cartons affectés. |