Column: Timereg user

From Catglobe Wiki
Jump to: navigation, search



Column: Timereg user

Column

Timereg user

Source

The user id of the user who is set as the one having done the time registration for the returned time registration record. It is possible to have external time registration recorded, in which case it will not belong to a specific user and be recorded as NULL.

Automatically given column name

TimeregUser

Column type

Number

Resource types that use it

Folder, Project, Product, Report, Questionnaire, User, Group, Task

How axis set information is built

This column is what we call a "search string dependent axis option". This means that the axis set for it is rebuilt each time that the resource cache is rebuilt. The reason for this is, that the number of possible option outcomes for the column is changing each time the column is updated. For this column it will not make sense if you try to update its options directly in the axis set, since these will be reset on resource cache rebuild anyway.

The axis set is built upon first extracting all the IDs that are in the "Timereg user" column, then creating one option in the axis set for each unique value. The option will be named the same as the user resource in catglobe that owns the ID. Let us say that the system finds the value "123" in this column. The system will then look up the username of the resource with this ID and create an option in column's axis.

Typically the axis for this column will look something like the below:

Axis text: "Time registration user"
Math base: "TimeregUser"
Pct base: "TimeregUser!=empty"

Option 1: Name="UserABCDE"; Value="TimeregUser==123"
Option 2: Name="...."; Value="TimeregUser==...", etc.

Comment

N/A