API RF MAJ_CASIER

Version ACE : 1.3  

Package : Standard

Nom de la gnc : gnc_rf_maj_lchl

Fonctionnalité : Préparation RF
Schémas d’entrée et de sortie : voir en fin de document.

Cette API permet de mettre à jour un casier (affectation d’un carton).

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 MAJ OK
2 Carton déjà présent sur un autre chariot
3 Chariot/casier inexistant

Cas d'erreur

CODE PARAMÈTRES DESCRIPTION
3/RFPIK01003 Lchl.i dcarton, lchl.idchariot Carton ID already exist in a chariot.
1/RFPIK01001 lchl .idchariot Chariot does not exist.
9/RFPIK01009 Lchl.i dcasier, lchl.idchariot Rack is inactive for the chariot.

Processus, contrôles et règles de gestion

ETAPE DESCRIPTION DU PROCESSUS
 

Recherche sur l’ensemble des chariots si le carton saisi n’est pas déjà affecté.

S’il n’est nulle part, affectation du chariot.

Détail :

Read the first chariot line data with the input parameters ‘typtie’, ‘sigtie’ and ‘idcarton’ (LCHL).

If the data exists, the API returns an error code 2 and an error message “RFPIK01003”.

Read again the chariot line data with the input parameters ‘typtie’, ‘sigtie’, ‘idcarton’, ‘idchariot’ and ‘idcasier’.

If the data does not exist, the API returns an error code 3 and an error message “RFPIK01001”.

If the chariot line is not active (lchl.actif != ‘O’), the API returns an error code 0 and an error message “RFPIK01009”.

Modify the chariot line data with the input carton identifier (carton id) parameter.

Exemple(s) d’utilisation

MAJ_CASIER~DEP~CESBUN~T7797~1~C1~

Mise à jour du casier 1 du chariot t7797, rempli avec le carton « C1 ».

Paramètres en entrée

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
idcasier CHAR   40 O

Identifiant du casier,

Vide si recherche de casier vide sur le chariot

idcarton CHAR   40 O Carton à affecter au chariot

Paramètres en sortie

NOM DU PARAMÈTRE TYPE FORMAT TAILLE REMARQUE
Aucun.