Framework:BI Center:Plausibility Check: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
Line 14: Line 14:
[[image:Eingabepruefung02.jpg|thumb|center|Dialogue „Plausibility Check“, tab „Settings“]]
[[image:Eingabepruefung02.jpg|thumb|center|Dialogue „Plausibility Check“, tab „Settings“]]


====Register „Einstellungen“====
====Tab „Settings“====


Im Register „Einstellungen“ geben Sie die Bedingung für die Eingabeprüfung ein.
 
Der Preis muss ungleich Null sein, der eingegebene Betrag größer Null und es muss ein Leaf-Element sein.
In this register you define the condition for the plausibility check.
The price may not be zero, the input value has to be greater zero and it has to be a leaf element.


{| {{Bausteindesign2}}
{| {{Bausteindesign2}}
|-
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;[Preis] <> 0 and <value> > 0 and <Produkte.ChildCount> = 0
|<span style="color: darkblue">'''Input'''</span> &nbsp;[Price] <> 0 and <value> > 0 and <Products.ChildCount> = 0
|}
|}


Mittels der Option „Prüfung aktiv” können Sie eine bereits bestehende Eingabeprüfung deaktivieren ohne sie löschen zu müssen.
Check the option "Evaluation active" to activate the plausibility check. With a click on the button "Evaluate" you can check your settings.
Durch einen Klick auf die Schaltfläche „Evaluieren“ können Sie Ihre Einstellungen überprüfen.
Following variables are allowed:
Folgende Variable sind zulässig:  


{| cellspacing="1" cellpadding="3" width={{{breite|60%}}} border="1"
{| cellspacing="1" cellpadding="3" width={{{breite|60%}}} border="1"
|-
|-
|[....]
|[....]
|Bezug auf jede Spalte in der Aggmaske
|Reference to each column
|-
|-
|Dimension.ID
|Dimension.ID
|COPSYSID des Elements
|COPSYSID of elements
|-
|-
|Dimension.Level
|Dimension.Level
|Level-Nummer, beginnend mit Null
|Level-number, starting will zero.
|-
|-
|Dimension.ChildCount
|Dimension.ChildCount
|Anzahl der Child-Elemente, Null wenn es ein Leaf-Element ist
|Number of Child-Elemente, zero if it is a leaf element
|-
|-
|Dimension.BaseElementID
|Dimension.BaseElementID
|Name des Attributes (gibt bei Dimension die COPSYSID, bei Subsets die BASISELEMENTID zurück)
|Name of the attribute (returns COPSYSID if it is a dimension, returns BASISELEMENTID if is is a subset)
|}
|}



Revision as of 09:48, 24 November 2010

With the support of the plausibility check you can define, which kind of data are allowed. For example you can allow data entry in measure "Quantity" if a "Price" exists. The plausibility check is available for input mask and analyse view. The following example shows how to define a plausibility check in an input mask. It should be only allowed to enter a quantity, if a price exists and it is a leaf element. Furthermore only positive quantities are allowed.

Open the designer with a click in the property "Plausibitity".

The dialogue has following tabs:

  • Settings
  • Input message
  • Error message


Dialogue „Plausibility Check“, tab „Settings“

Tab „Settings“

In this register you define the condition for the plausibility check. The price may not be zero, the input value has to be greater zero and it has to be a leaf element.

Input  [Price] <> 0 and <value> > 0 and <Products.ChildCount> = 0

Check the option "Evaluation active" to activate the plausibility check. With a click on the button "Evaluate" you can check your settings. Following variables are allowed:


[....] Reference to each column
Dimension.ID COPSYSID of elements
Dimension.Level Level-number, starting will zero.
Dimension.ChildCount Number of Child-Elemente, zero if it is a leaf element
Dimension.BaseElementID Name of the attribute (returns COPSYSID if it is a dimension, returns BASISELEMENTID if is is a subset)

Register „Eingabemeldung“

In diesem Register können Sie eine Eingabemeldung erfassen. Ist die Option aktiviert, wird der Fußzeile der Maske die Eingabemeldung angezeigt. Die Meldung wird angezeigt, sobald diese Spalte aktiviert wird.

Dialog „Eingabeprüfung“, Register „Eingabemeldung“

Geben Sie folgende Meldung in das Textfeld ein:

Eingabe  „Es muss zuerst der Preis erfasst werden.“

In der Maske erfolgt die Darstellung:

Dialog „Eingabeprüfung“, Darstellung der „Eingabemeldung“ in der Maske

Register „Fehlermeldung“

In diesem Register definieren Sie Meldung die ausgegeben wird, wenn der Anwender ungültige Daten erfassen will. Neben dem Titel und dem Text der Fehlermeldung können Sie auch den Typ bestimmen. Die Typen haben unterschiedliche Auswirkungen auf die Eingabe.

  • Information: Eine Informationsmeldung wird angezeigt, die Daten werden akzeptiert
  • Warnung: Eine Warnungsmeldung wird angezeigt, die Daten werden akzeptiert
  • Stopp: Ungültige Daten werden nicht akzeptiert
Dialog „Eingabeprüfung“, Register „Fehlermeldung“
Eingabe  Wählen Sie als Typ „Stopp“ und erfassen Sie den Titel und die Fehlermeldung.