API RF MVT_FAIS

  Version ACE : 1.3

Package : Standard

Nom de la gnc : gnc_rf_mvt_faisable

Fonctionnalité : Général
Schémas d’entrée et de sortie : voir en fin de document.

The API controls whether a Picking List movement is executable.

API imbriquées : aucune.

Contraintes et limites de fonctionnement (hors périmètre)

RAS.

Processus, contrôles et règles de gestion

Etape Description du Processus
 

Read the depot of the operator.

Read the Picking List data (LOP) with idop parameter.

Read Stock movements data (LMVTSTK) with the direction of the movement (sensmvt=’S’), typmvt=lop.typmvt and idmvt parameter.

Read the logistic stock object (LOBJSTK) with lmvtstk.idobj.

If the quantity in CU of the stock object (lobjstk) is greater or equal than the quantity in CU of the stock movement (LMVTSTK) (lobjstk.qteunt >= lmvtstk.qteunt), the API returns 1, otherwise 0.

Paramètres en entrée

Nom du paramètre type format taille obl O/N Remarque
idop Char(10)     O Picking List identifier
idmvt Char(9)     O Movement identifier

Paramètres en sortie

Nom du paramètre type format taille Remarque
Aucun.