Framework:BI Center:Plausibility Check: Difference between revisions
No edit summary |
No edit summary |
||
| Line 60: | Line 60: | ||
{| {{Bausteindesign2}} | {| {{Bausteindesign2}} | ||
|- | |- | ||
|<span style="color: darkblue">'''Input'''</span> „You have to | |<span style="color: darkblue">'''Input'''</span> „You have to enter a price first.“ | ||
|} | |} | ||
Revision as of 10:15, 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

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) |
Tab „Input message“
In this tab you can edit a input message. If this option is activated, the message will be display in the footer of the mask. In diesem Register können Sie eine Eingabemeldung erfassen. Ist die Option aktiviert, wird der Fußzeile der Maske die Eingabemeldung angezeigt. The message appears if the column is selected.

Enter following message in the textbox:
| Input „You have to enter a price first.“ |
In der Maske erfolgt die Darstellung:

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

| Eingabe Wählen Sie als Typ „Stopp“ und erfassen Sie den Titel und die Fehlermeldung. |