API RF SCE_GP_014

  Version ACE : 1.3

Package : Standard gnc_sce_logis

Nom de la gnc : gnc_sce_gp_014

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

The API closes a picking list.

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 :

Read the picking list data (LOP) which corresponds to the input parameters (‘typdep’, ‘sigdep’, ‘idord’).

If the picking list corresponding to the input parameters exists:

If this is a multi-parcel picking list (lop.idobjcol = ‘ ‘ or lop.idobjcol = 0).

Call the API gnc_colis_term_multicol, as so to close the multi-parcel picking list.

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

Otherwise:

Call the API gnc_term_prep_logis, as so to close the mono-parcel picking list.

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

If the result returned by the called function is 63.

The API returns an error message (L_ERRSOLD).

If the result returned by the called function is 0.

The API returns an error code 0.

Cas d’erreur

CODE DESCRIPTION
63/L_ERRSOLD The picking list has no movement or no validated parcel.
0 The execution of the function gnc_colis_term_multicol OR gnc_term_prep_logis does not succeed.

Paramètres en entrée

NOM DU PARAMÈTRE TYPE FORMAT TAILLE OBL O/N REMARQUE
typdep Char(3)     O Depot type
sigdep Char(12)     O Depot ID
idord Long     O Order number

Paramètres en sortie

NOM DU PARAMÈTRE TYPE FORMAT TAILLE REMARQUE
ParamOut1 Long     Generated wave identifier.