Les informations à renseigner dans les listes WfEntAct et WfEntVar sont les suivantes :
-
Liste WfEntAct :
|
Action |
EntTEn |
EntCl1 |
|
FA-DE |
*EVT-FA-DE |
Compteur |
-
Liste WfEntVar :
|
EntTEn |
EntCl1 |
|
*EVT-FA-DE |
Compteur |
|
EntVar |
EntVa* |
|
LanSerFabDecCtx : Contexte de la déclaration. |
EntVaC |
|
LanSerFabDecMod : Entité concernée par la déclaration. |
EntVaC |
|
LanSerRef : Référence Série. |
EntVaC |
|
LanSerFabOF : Référence OF. |
EntVaC |
|
LanSerCTRef : Référence de la CT. |
EntVaC |
|
GamEtaRef : Etape concernée par la déclaration. |
EntVaC |
|
ResGenRef : Référence Ressource. |
EntVaC |
|
LanSerReeDecDat : Date de déclaration. |
EntVaD |
|
LanSerReeDecHeu : Heure de déclaration. |
EntVaN |
|
GenEnrRefUtilCre : Utilisateur concerné par la déclaration. |
EntVaC |
|
LanSerFabQteTyp : Type de déclaration. |
EntVaC |
|
LanSerFabQteDec : Quantité à déclarer. |
EntVaN |
|
LanSerFabQteUnMe : Unité de Mesure déclaration. |
EntVaC |
|
RefPalette : Référence Palette. |
EntVaC |
|
RefTypePalette : Référence Type de Palette. |
EntVaC |
|
StoFluSecEntRef : Référence Section. |
EntVaC |
|
RefEmplaStock : Référence Emplacement. |
EntVaC |
Valeurs possibles et conditions d’utilisation :
-
LanSerFabDecCtx : peut contenir les valeurs suivantes : DEC (Déclaration Normale), SURPLUS (Déclaration Surplus), RETOUR (Déclaration Retour), REBUT (déclaration de Rebut), SOLDE (Solde du reste à fabriquer), ANN (Annulation déclaration).
Valeur défaut de cette variable : DEC.
-
LanSerFabDecMod : peut contenir les valeurs suivantes :
Pour les déclarations par File d’Attente : FS (Déclaration par rapport à une Série), FO (Déclaration par rapport à un OF), FCT (Déclaration par rapport à une CT), FRL (Déclaration par rapport à un Regroupement Local).
Pour les déclarations Quantitatives : OF.
Valeur défaut de cette variable : OF (déclaration quantitative).
-
LanSerRef : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, SOLDE, REBUT et si LanSerFabDecMod = FS.
-
LanSerFabOF : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, SOLDE, REBUT et si LanSerFabDecMod = FO, OF.
-
LanSerCTRef : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, SOLDE, REBUT et si LanSerFabDecMod = FS, FO, FCT, FRL.
-
LanSerRLRef : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, SOLDE, REBUT et si LanSerFabDecMod = FRL.
-
ResGenRef : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, SOLDE, REBUT et si LanSerFabDecMod = FRL.
-
LanSerReeDecDat : Facultatif, TODAY si non défini.
-
LanSerReeDecHeu : Facultatif, TIME si non défini.
-
GenEnrRefUtilCre : Facultatif, utilisateur connecté si non défini.
-
LanSerFabQteTyp : peut contenir les valeurs suivantes : Q (Quantité saisie), R (Reste à Fabriquer) ou C (Quantité de Conditionnement).
Valeur défaut : Q.
-
LanSerFabQteDec : Obligatoire si la variable LanSerFabDecCtx est égale à DEC, SURPLUS, RETOUR, REBUT et LanSerFabQteTyp = Q.
-
LanSerFabQteUnMe : peut contenir les valeurs suivantes : vide (déclaration en UM de lancement (pas de gestion de conversion)) ou DEC (déclaration en UM de déclaration de l'OF).
-
RefPalette : Utilisée si LanSerFabDecCtx = DEC et produit palettisé.
-
RefTypePalette : Utilisée si LanSerFabDecCtx = DEC et produit palettisé.
-
StoFluSecEntRef : Utilisée si section non standard / OF.
-
RefEmplaStock : Utilisée si section non standard / OF.
Remarque : Si l’on génère une référence Palette, il est possible de la récupérer dans WfEntAct.ActRes sous la forme ‘RefPalette=’ + numéro de palette.
Exemple :
Déclaration File d’attente de 1 sur l’étape USINAGE, OF : OF001 et la CT CA1.
CREATION Liste WfEntAct :
PRENDRE WfEntAct Action = ”FA-DE”
PRENDRE WfEntAct EntTEn = ”*EVT-FA-DE”
PRENDRE WfEntAct EntCl1 = "1"
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “LanSerFabDecCtx”
PRENDRE WfEntVar EntVaC = ”DEC”
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “LanSerFabDecMod”
PRENDRE WfEntVar EntVaC = ”FO”
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “LanSerFabOF”
PRENDRE WfEntVar EntVaC = ”OF001”
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “LanSerCTRef”
PRENDRE WfEntVar EntVaC = ”CA1”
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “GamEtaRef”
PRENDRE WfEntVar EntVaC = ”USINAGE”
FIN_BLOC
CREATION Liste WfEntVar :
PRENDRE WfEntVar EntTEn = “*EVT-FA-DE”
PRENDRE WfEntVar EntCl1 = "1"
PRENDRE WfEntVar EntVar = “LanSerFabQteDec”
PRENDRE WfEntVar EntVaN = 1
FIN_BLOC
VLO.Resultat = ENR-ACT-ENT( )