API RF SCE_GP_015

  Version ACE : 1.3

Package : Standard gnc_sce_logis

Nom de la gnc : gnc_sce_gp_015

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

The API re-addresses a picking movement.

API imbriquées : aucune.

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

RAS.

Paramétrage (PPE)

RAS.

Processus, contrôles et règles de gestion

ETAPE DESCRIPTION DU PROCESSUS
Détail :

If the type of the movement is issues (typmvt = ‘S’) or deconsolidation (typmvt = ‘Z’) or Replenishment (typmvt = ‘R’):

Read the stock movement data (LMVTSTK), witch corresponds to the input parameters (‘typdep’, ‘sigdep’, typmvt’, ‘idmvt’) and for which the direction of the movement is ‘S’ (sensmvt=’S’).

If the stock movement does not exist, the API returns an error message "ELT_PASTRO" and an error code 0.

Read the logistic stock object data (LOBJSTK), which corresponds to the input parameters (‘typdep’, ‘sigdep’’, ‘idobj_new’).

If the logistic stock object does not exist, the API returns an error message "ELT_PASTRO" and an error code 0.

Check the availability of the new logistic stock object with the function gnc_stkobj_dispo.

If the function does not succeed, the API returns an error code 0.

Check the compatibility between the old and the new logistic stock object with gnc_stkobj_lstk.

If the function does not succeed, the API returns an error code 0.

Call gnc_stkobj_readres, as so to readdress the new stock object.

If the function does not succeed, the API returns an error code 0.

Cas d’erreur

CODE PARAMÈTRES DESCRIPTION
0/ELT_PASTRO lmvtstk.typtie, lmvtstk.sigtie, lmvtstk.typmvt, lmvtstk.sensmvt, lmvtstk.idmvt Stock movement does not exist.
0/ELT_PASTRO lobjstk.typtie, lobjstk.sigtie, lobjstk.idobj Stock object does not exist.
0   The execution of the function gnc_stkobj_dispo OR gnc_stkobj_lstk OR gnc_stkobj_readres is not successful.

Paramètres en entrée

NOM DESCRIPTION FORMAT OBLIGATOIRE/FACULTATIF
typdep Depot type Char(3) O
sigdep Depot ID Char(12) O
typmvt Movement type Char(1) O
idmvt Movement identifier Number O
idobj_new New object identifier Char(18) O

Paramètres en sortie

NOM DU PARAMÈTRE TYPE FORMAT TAILLE REMARQUE
Aucun