Entity CustomQuery

Description of Entity CustomQuery

A standard query is good when you have a fixed group of employees, e.g. employees in a single department.
What if you have a list of employees belonging to different groups - a custom query will be more suitable. The custom query may look complex but it is not. If you are familiar with spreadsheets, e.g. MS Excel, then you should be familiar with formulas such as Sum, Average etc.

A custom query is similar in concept because conditions are set as formulas. Each custom query created is made up of one or more conditions. Records need to satisfy the condition before they can be selected.

Example: 'Employee Name = Andrew Ang' or 'Basic Salary > 5000'


List of all Dependencies of the Entity CustomQuery

Name

Code

Class Name

Relation_166859

Relation_166859

Reference

Relation_126743

Relation_126743

Reference

Relation_126742

Relation_126742

Reference

Relation_126740

Relation_126740

Reference

Relation_166860

Relation_166860

Reference


List of Attributes of the Entity CustomQuery

Name

Code

Custom Query ID

CustomQueryID

Query Description

QueryDesc

DistinctOption

DistinctOption

GroupByOption

GroupByOption

TableString

TableString

Master Query ID

MasterQueryID


Entity Attribute Custom Query ID of the Entity CustomQuery

Card of Attribute Custom Query ID of the Entity CustomQuery

Name

Custom Query ID

Code

CustomQueryID

Data Type

char(20)

Mandatory

Yes


Description of Attribute Custom Query ID of the Entity CustomQuery

Shows the identity of the custom query. This is the primary key for the CustomQuery table.
Example: Confirmed Emp / PromotedEmp etc


Entity Attribute Query Description of the Entity CustomQuery

Card of Attribute Query Description of the Entity CustomQuery

Name

Query Description

Code

QueryDesc

Data Type

char(100)

Mandatory

No


Description of Attribute Query Description of the Entity CustomQuery

Stores a description about the query.
Example: Basic Personal Details / Personal Employment Details etc


Entity Attribute DistinctOption of the Entity CustomQuery

Card of Attribute DistinctOption of the Entity CustomQuery

Name

DistinctOption

Code

DistinctOption

Data Type

smallint

Mandatory

No


Description of Attribute DistinctOption of the Entity CustomQuery

Shows if it is a distinct option, in a form of a checkbox.


Entity Attribute GroupByOption of the Entity CustomQuery

Card of Attribute GroupByOption of the Entity CustomQuery

Name

GroupByOption

Code

GroupByOption

Data Type

smallint

Mandatory

No


Description of Attribute GroupByOption of the Entity CustomQuery

Shows if the user wants the query to be grouped by a specific topic, in a form of a checkbox.


Entity Attribute TableString of the Entity CustomQuery

Card of Attribute TableString of the Entity CustomQuery

Name

TableString

Code

TableString

Data Type

char(255)

Mandatory

No


Description of Attribute TableString of the Entity CustomQuery

The table list contains the string of how the tables are joined for this query.


Entity Attribute Master Query ID of the Entity CustomQuery

Card of Attribute Master Query ID of the Entity CustomQuery

Name

Master Query ID

Code

MasterQueryID

Data Type

char(20)

Mandatory

No


Description of Attribute Master Query ID of the Entity CustomQuery

Shows the identity of the master query.