Lager-Informationen abfragen

Hinweis
Hinweis
Eine vollständige Beschreibung der BIZ-Services finden Sie hier: BIZ-Services Übersicht

DispoControl

Über das BO DispoControl können die Dispobestände abgefragt werden. (Befehl in F-Script: «PLAN-BEWEGUNG»)
Hinweis
Hinweis
Beachten Sie, dass für das Abfragen der Dispobestände eine GetBo-Abfrage auf das BO DispoControl durchgeführt werden muss.

Index-Informationen

Wichtig
Wichtig
Der Dispobestand kann für "Total" und "PLG" per Jahr oder Datum abgefragt werden.
Für den Lagerort ist nur die Abfrage per Datum möglich.
Index
Segment
Argument
Beschreibung
1
Seg. 1
DispoControl.ArtInternalNo
Interne Artikelnummer
-
Seg. 2
DispoControl.DispoControlTypeCd
Lagerbereich welcher abgefragt werden soll.
1 = Total (Totalbestand über alle Planlagergruppen bzw. Lagerorte)
11 = PLG (Bestand pro Planlagergruppe)
21 = Bestand pro Lagerort
-
Seg. 3
DispoControl.StockLocNo
Planlagergruppe oder Lagerort. (Abhängig von Seg. 2)
Wird der Totalbestand abgefragt, kann das Argument leer gelassen werden.
-
Seg. 4
DispoControl.StockPeriodTypeCd
Dispo-Buchungsperioden-Typ
1 = Jahr
2 = Stichtag
-
Seg. 5
DispoControl.StockPeriod
Buchungsperiode
Jahr oder Datum. (Abhängig von Seg. 4)
Wird das Argument leer gelassen, so verwendet das System automatisch das aktuelle Jahr bzw. Tagesdatum.
-
Seg. 6
DispoControl.ArtUnitTypeCd
Artikeleinheit
1 = Einkaufeinheit
2 = Lagereinheit
3 = Verkaufseinheit

Beispiel

Total Eingang des Planbestand (Dispobestand) von Lagerort 4 holen
«XSER(getDispoControl:GetBo)»
«XSER(getDispoControl:addArg=DispoControl)»
«XSER(getDispoControl:addArg=«ART-INR»,1,4,2,«TODAY\D10»,3)»
«XSER(getDispoControl:addArg=e)»
«XSER(getDispoControl:addArg=1)»
«XSER(getDispoControl:addArg=1)»
«XSER(getDispoControl:addArg=6)»
«XSER(getDispoControl:addArg=)»
«XSER(getDispoControl:addArg=DispoControl.PrimInTotal,DispoControl.SecInTotal)»
«nXSER(getDispoControl:execute,«X(MandNr)»,«LIB(User│,ST-AP100.LB)»,,,«LIB(PWSchluessel│,ST-AP100.LB)»>getDispoControl1Res)\A»
#
Total Eingang Dispobestand:
«(«XRES(getDispoControl1Res:DispoControl.PrimInTotal)\N»+«XRES(getDispoControl1Res:DispoControl.SecInTotal)\N»)\N»