Framework:BI Center:Plausibility Check: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
__TOC__
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.
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 [[Framework:BI_Center:Create_Input_Mask|input mask]] and [[Framework:BI_Center:Create_Analyse_View|analyse view]].
The plausibility check is available for [[Framework:BI_Center:Create_Input_Mask|input mask]] and [[Framework:BI_Center:Create_Analysis_View|analysis view]].
The following example shows how to define a plausibility check in an [[Framework:BI_Center:Create_Input_Mask|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.
The following example shows how to define a plausibility check in an [[Framework:BI_Center:Create_Input_Mask|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.


Im folgenden Beispiel wird in der [[Framework:BI_Center:Eingabemaske_erstellen|Eingabemaske]] „Maske Meine Umsatzerloese“ eine Eingabeprüfung eingebaut. Eine Menge soll erst erfasst werden können, wenn ein Preis vorhanden ist und es sich um ein Leaf-Element handelt. Des Weiteren dürfen nur positive Mengen eingegeben werden.
Open the designer with a click in the property "[[Framework:BI_Center:Input_Mask_-_Measure_properties|Plausibility]]".


Sie rufen den Designer über die [[Framework:BI_Center:Eingabemaske_-_Eigenschaften_Measure|Eigenschaft]] "Plausibility" auf.
The dialogue has following tabs:
:*[[Framework:BI_Center:Plausibility_Check#Tab „Settings“|Settings]]
:*[[Framework:BI_Center:Plausibility_Check#Tab „Input message“|Input message]]
:*[[Framework:BI_Center:Plausibility_Check#Tab „Error message“|Error message]]


Der Dialog Eingabeprüfung mit folgenden Registern wird angezeigt:
:*[[Framework:BI_Center:Eingabepr%C3%BCfung#Register_.E2.80.9EEinstellungen.E2.80.9C|Einstellungen]]
:*[[Framework:BI_Center:Eingabepr%C3%BCfung#Register_.E2.80.9EEingabemeldung.E2.80.9C|Eingabemeldung]]
:*[[Framework:BI_Center:Eingabepr%C3%BCfung#Register_.E2.80.9EFehlermeldung.E2.80.9C|Fehlermeldung]]


[[image:Eingabepruefung02.jpg|thumb|center|Dialog „Eingabeprüfung“, Register „Einstellungen“]]
[[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.
In this register you define the condition for the plausibility check.
Der Preis muss ungleich Null sein, der eingegebene Betrag größer Null und es muss ein Leaf-Element sein.
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"
{| class="wikitable" width={{{breite|60%}}}
|-{{Tabellentitel}}
| Variable
| Description
|-
|-
|[....]
|[....]
|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 elements, 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 it is a subset)
|}
|}


====Register „Eingabemeldung“====
==Tab „Input message“==


In diesem Register können Sie eine Eingabemeldung erfassen. Ist die Option aktiviert, wird der Fußzeile der Maske die Eingabemeldung angezeigt.
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.
Die Meldung wird angezeigt, sobald diese Spalte aktiviert wird.
The message appears if the column is selected.


[[image:Eingabepruefung03.jpg|thumb|center|Dialog „Eingabeprüfung“, Register „Eingabemeldung“]]
[[image:Eingabepruefung03.jpg|thumb|center|Dialogue „Plausibility Check“, tab „Input message“]]


Geben Sie folgende Meldung in das Textfeld ein:
Enter following message in the textbox:


{| {{Bausteindesign2}}
{| {{Bausteindesign2}}
|-
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;„Es muss zuerst der Preis erfasst werden.“
|<span style="color: darkblue">'''Input'''</span> &nbsp;„You have to enter a price first.“
|}
|}


In der Maske erfolgt die Darstellung:
Display in the mask:


[[image:EingabepruefungAggmaske.jpg|thumb|center|Dialog „Eingabeprüfung“, Darstellung der „Eingabemeldung“ in der Maske]]
[[image:EingabepruefungAggmaske.jpg|thumb|center|Dialogue „Plausibility Check“, Display of the input message]]


====Register „Fehlermeldung“====
==Tab „Error message“==
   
   
In diesem Register definieren Sie Meldung die ausgegeben wird, wenn der Anwender ungültige Daten erfassen will.
In this tab you define the message, if the user enters invalid data.
Neben dem Titel und dem Text der Fehlermeldung können Sie auch den Typ bestimmen. Die Typen haben unterschiedliche Auswirkungen auf die Eingabe.
Beside the title and the message you can define the type. The type of the message dialogue has different effects on data entry.  
:*Information: Eine Informationsmeldung wird angezeigt, die Daten werden akzeptiert
:*Information: a information message is shown, data entry will be accept.
:*Warnung: Eine Warnungsmeldung wird angezeigt, die Daten werden akzeptiert
:*Warning: a warning message is shown, data entry will be accept.
:*Stopp: Ungültige Daten werden nicht akzeptiert
:*Stop: Invalid data will not be accepted.
 


[[image:Eingabepruefung04.jpg|thumb|center|Dialog „Eingabeprüfung“, Register „Fehlermeldung“]]
[[image:Eingabepruefung04.jpg|thumb|center|Dialogue „Plausibility Check“, tab „Error message“]]


{| {{Bausteindesign2}}
{| {{Bausteindesign2}}
|-
|-
|<span style="color: darkblue">'''Eingabe'''</span> &nbsp;Wählen Sie als Typ „Stopp“ und erfassen Sie den Titel und die Fehlermeldung.
|<span style="color: darkblue">'''Input'''</span> &nbsp;Choose type stop and enter title and message.
|}
|}



Latest revision as of 10:37, 29 May 2012

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 analysis 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 "Plausibility".

The dialogue has following tabs:


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:


Variable Description
[....] Reference to each column
Dimension.ID COPSYSID of elements
Dimension.Level Level-number, starting will zero.
Dimension.ChildCount Number of child elements, zero if it is a leaf element
Dimension.BaseElementID Name of the attribute (returns COPSYSID if it is a dimension, returns BASISELEMENTID if it 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. The message appears if the column is selected.

Dialogue „Plausibility Check“, tab „Input message“

Enter following message in the textbox:

Input  „You have to enter a price first.“

Display in the mask:

Dialogue „Plausibility Check“, Display of the input message

Tab „Error message“

In this tab you define the message, if the user enters invalid data. Beside the title and the message you can define the type. The type of the message dialogue has different effects on data entry.

  • Information: a information message is shown, data entry will be accept.
  • Warning: a warning message is shown, data entry will be accept.
  • Stop: Invalid data will not be accepted.


Dialogue „Plausibility Check“, tab „Error message“
Input  Choose type stop and enter title and message.