API RF COMPARE

  Version ACE : 5.0-00

Package : Standard

Nom de la gnc : gnc_rf_compare_emplacement

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

The API executes a comparison for the initial or initial two address components of two slot addresses.

API imbriquées : aucune.

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

RAS.

Paramétrage (PPE)

Aucun.

Processus, contrôles et règles de gestion

ETAPE DESCRIPTION DU PROCESSUS
  Read the depot (TIE table) for the operator.
 

Read the first logistic store address component (LMAGADR table) with (lcodmag = lcodmag input parameter, seqcmp = ‘0’).

If the first logistic store address component is not found, the API returns the error code 0.

Get the length of the first logistic store address component (Lmagadr.lencmp).

 

Read the second logistic store address component (lmagadr table) with (lcodmag = lcodmag input parameter, seqcmp = ‘1’).

If there is a second logistic store address component.

Add the length of that address component (Lmagadr.lencmp) to the length of the first address component.

 

Compare the first or first two address components (depending on whether a second address component is found) of the first and second slot addresses.

If the component/components are not equal.

The API returns the error code 0.

Otherwise.

The API returns the code 1.

Erreurs possibles

CODE SIGNIFICATION
0 The comparison of the slot addresses is not successful.
1 The first logistic store address component is not found.

Paramètres en entrée

NOM DU PARAMÈTRE TYPE FORMAT OBL O/N REMARQUE
Lcodmag   Char(3) O Logistic store code
Adremp   Char(10) O First Slot address
Adremp1   Char(10) O Second Slot address

Paramètres en sortie

Aucun.