SOG-Helpcenter Logo SOG Business - Software

statvar - Statistikvarianten


Bemerkung: View F370
Programme: p801 - Dialogstatistik (dlgstat),p813 - Druck Langzeitstatistik (druckstat)
Tabellentyp: View



Objektklasse: Statistikvariante
key_1

Format: char(7), Default: ' ', not null
SQL Funktion zum Bilden des Inhaltes: dbo.statvar_build_key_1(firma, ekvk, sa_a, sa_b)
Text für Objectcontainer: #data:dbs.Statistikvariante(firma, ekvk, sa_a, sa_b)
base.statvar.key_1


firma

Firmennummer
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Teilfeld von key_1

Nummer der Firma.




ekvk

Bereich
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Teilfeld von key_1
Auswahlliste: m_ekvk.awl

Bereich der Statistikvariante

1 = Verkauf
2 = Einkauf




sa_a

Satzart A
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Teilfeld von key_1
Auswahlliste: m_statsa.awl

Aufzählung Satzart A.

Statistiksatzart A

Unter Satzart versteht man hier die Auswertungsbegriffe für eine Statistik (z. B. Person, Artikel, Vertreter)




sa_b

Satzart B
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Teilfeld von key_1
Auswahlliste: m_statsa.awl

Aufzählung Satzart B.

Statistiksatzart B bei zweistufiger Statistik

Unter Satzart versteht man hier die Auswertungsbegriffe für eine Statistik (z. B. Person, Artikel, Vertreter)




anz_jahre

Anzahl Jahre
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Anzahl der Jahre, über die die Statistiksätze erhalten beliben sollen.




dialog_darst

Dialogdarstellung
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Auswahlliste: m_statdi.awl

0=Volle Werte
1=Werte in 10
2=Werte in 100
3=Werte in 1000
4=Werte in 10000




perioden_art

Periodenart
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Auswahlliste: m_stat_perioden.awl

0 = Monate
1 = Wochen
2 = Quartale
3 = Jahre




neuaufbau

Neuaufbau
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Schalter zum Erzwingen eines Statistikneuaufbau




recht

Recht
Format: char(10), Default: ' ', not null

Recht für die Statistikvariante

Bei der Hinterlegung eines Rechts werden folgende weitere Berechtigungen ebenfalls geprüft, sofern diese über die Rechteverwaltung angelegt worden sind:

 

1. Recht.Satzart.Statistikwert

Recht = hinterlegtes Recht
Satzart = Statistiksatzart A (zweistellig)
Statistikwert = numerisch lt. Auswahlliste m_statwe.awl (dreistellig)

2. Recht.Satzart

Recht = hinterlegtes Recht
Satzart = Statistiksatzart A (zweistellig)

3. Recht

Recht = hinterlegtes Recht




sum_tage

Tagesstatistik
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Steuert, ob Tagesstatistiksätze (und damit auch in der Ausgabe des p140) erzeugt werden. Zur späteren Auswertung werden die Sätze dauerhaft gespeichert.




sum_perioden

Periodenstatistik
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Steuert, ob Statistiksätze über die in der Periodenart eingestellten Perioden erzeugt werden.




sum_jahre

Jahresstatistik
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Steuert, ob Jahresstatistiksätze erzeugt werden.




stat_auftrag

Auftragswerte
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_umsatz

Umsatzwerte
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_bestand

Auftragsbestandswerte
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_gewicht

Gewicht
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_vol

Volumen
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_menge

Mengen
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

 




stat_lg

Lagerstatistik
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Abstellung von Lagerstatistkdaten beim Monatsabschluss.

0 = nicht aktiviert
1 = aktiviert

Lagerstatistikdaten können nur bei folgenden Statistiksatzarten, entweder als einstufige Statistik oder als zweistufige Statistik in Kombination mit einer weiteren Lagerstatistiksatzart, abgestellt werden:

  • Firma (1)

  • Mandant (12)

  • Artikel (40)

  • Statistikgruppe (41)

  • Warengruppe/Artikelgruppe (42)

  • Warengruppe (43)

  • Artikelgruppe (44)

  • Lager (45)

  • Matchcode 1. Teil (47)

  • Artikelgruppe/-untergruppe (48)

  • Artikeluntergruppe (49)

  • Preisgruppe/-kz (50)

  • Mengengruppe (51)

  • Artikel Beurteilungskz. (52)

  • Saison (53)




vors_sel_kz

Vorschlag Kennzeichen Selektionszeitraum
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null
Auswahlliste: m_statvar_vors_sel_kz.awl

Über dieses Kennzeichen wird gesteuert, welcher Selektionszeitraum beim Aufruf der Statistiksuche für die aktuelle Statistikvariante vorgeschlagen wird. Ausgehend vom aktuellen Tagesdatum wird dann auf Basis des hier hinterlegten Kennzeichens und dem damit verbundenen Selektionszeitraum die Selektion über Jahre und Perioden eingestellt.

0 = Nicht definiert
1 = Geschäftsjahre
2 = Kalenderjahre
3 = Perioden




vors_sel_anz

Vorschlag Selektionszeitraum
Format: smallint, MinValue: 0 MaxValue: 99, Default: 0, not null

Bildet beim Aufruf der Statistiksuche zusammen mit dem Kennzeichen Selektionszeitraum den Vorschlag für den Selektionszeitraum ausgehend vom aktuellen Tagesdatum.




stat_angebot

Angebotswerte
Format: tinyint, MinValue: 0 MaxValue: 9, Default: 0, not null

Generieren von Angebotsdaten unter dem gewählten Begriff für die Langzeitstatistik




hhupd

Format: bigint, MinValue: 0 MaxValue: 99999999, Default: 0, not null
base.statvar.hhupd