Skip to content

Commit

Permalink
Merge pull request #29 from irefas/patch-11
Browse files Browse the repository at this point in the history
Update index.rst
  • Loading branch information
Redjaw committed Jan 30, 2019
2 parents 317dc68 + 214e36a commit 4c9e8e0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions functionalities-guide/behavioural-model/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ We stress that the visibility of specific fields serve to improved human readabi

Hierarchical LOV definition.

.. note::
**Create a LOV for the default value of an analytical driver of type Manual Input Date**

This note is useful when using an analytical driver of type Date with an input of type Manual. In the case you want to use a particular date as default value for that driver, you have to use this syntax for the LOV: select '2017-09-10#yyyy-MM-dd' as fixed_date. Instead of the fixed date 2017-09-10 you can also use as default date the today date for example; in this case you can use a query of this type: select concat(to_date(now()) ,'#yyyy-MM-dd') as today. The most important thing is to concat to the default date you want to use the string #yyyy-MM-dd.

Parametrizing LOVs
~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -271,6 +276,11 @@ The second kind of input expects the user to type manually the value. Otherwise

Moreover the user can add default values (namely values that will be passed to the document at its first execution) using the dedicated area. Here it is possible to pick default values from another LOV or to pick the first or the latter value of the current LOV (if the LOV input type was selected).

.. note::
**Analytical driver of type Manual Input Date with a default value**

In the case you want to use an analytical driver of type Manual Input Date with a particular date as default value, you have to use a particular syntax for the LOVs query. See the note *Create a LOV for the default value of an analytical driver of type Manual Input Date* in the section *Creating a List Of Value* for more details.

At the bottom of the page the user must associate roles to the “use mode”. This action is mandatory. The user connects the user’s roles that he/she wants to be allowed to see a certain list of values or certain regions or be able to type values at his/her convenience.

Therefore, since an admin user can decide to separate values according to the other users’ roles, the analytical driver definition allows to configure different use mode. We can also set validation checks if needed. Then it is sufficient to save each use mode and click on **new use mode** to set a new one. We repeat the same procedure for all the use modes. Each use mode is represented in a separate tab. We will go deeper into this at the end of the section.
Expand Down

0 comments on commit 4c9e8e0

Please sign in to comment.