Search Results hxc_data_app_rule_usages
Overview
The HXC_DATA_APP_RULE_USAGES table is a core data structure within the Oracle E-Business Suite (EBS) Time and Labor Engine (HXC). It functions as a junction or mapping table that defines the operational relationship between three critical components of the time entry and approval process: Time Entry Rules, Approval Styles, and Time Recipients. Its primary role is to associate a specific approval workflow style with a time entry rule for a designated recipient, thereby governing how timecard data is processed and approved within the application. This table is essential for implementing complex, rule-based approval hierarchies and ensuring that time submissions follow the correct organizational channels.
Key Information Stored
The table's structure centers around a primary key and three foreign key relationships. The primary identifier is the DATA_APP_RULE_USAGE_ID, a unique system-generated sequence number for each rule usage definition. The substantive data is stored in three key foreign key columns: TIME_ENTRY_RULE_ID links to the HXC_TIME_ENTRY_RULES table, defining the rule under which time is entered (e.g., rules for overtime, project time). APPROVAL_STYLE_ID references the HXC_APPROVAL_STYLES table, specifying the approval workflow (e.g., direct supervisor, multi-level) to be applied. TIME_RECIPIENT_ID points to the HXC_TIME_RECIPIENTS table, identifying the person or entity (often an employee or a supervisor) to whom this specific rule and style combination applies.
Common Use Cases and Queries
A primary use case is diagnosing approval workflow issues or auditing the approval rules assigned to employees. For instance, to list all active approval rule mappings for a specific person, a query would join HXC_DATA_APP_RULE_USAGES with HXC_TIME_RECIPIENTS (on TIME_RECIPIENT_ID), HXC_TIME_ENTRY_RULES, and HXC_APPROVAL_STYLES. Another common scenario involves reporting to understand the distribution of approval styles across different time entry rules within an organization. A sample query pattern to retrieve this mapping would be:
- SELECT rule.NAME, style.NAME, usages.DATA_APP_RULE_USAGE_ID
- FROM HXC_DATA_APP_RULE_USAGES usages,
- HXC_TIME_ENTRY_RULES rule,
- HXC_APPROVAL_STYLES style
- WHERE usages.TIME_ENTRY_RULE_ID = rule.TIME_ENTRY_RULE_ID
- AND usages.APPROVAL_STYLE_ID = style.APPROVAL_STYLE_ID;
This table is also central during the time submission process, where the system queries it to determine the appropriate approval path for a given timecard based on the employee and the applicable time entry rule.
Related Objects
The HXC_DATA_APP_RULE_USAGES table maintains documented foreign key relationships with three primary tables in the HXC schema, as confirmed by the provided ETRM metadata:
- HXC_TIME_ENTRY_RULES: Linked via the TIME_ENTRY_RULE_ID column. This table stores the definitions of rules that control how time is entered and validated.
- HXC_APPROVAL_STYLES: Linked via the APPROVAL_STYLE_ID column. This table defines the various approval workflow templates available in the system.
- HXC_TIME_RECIPIENTS: Linked via the TIME_RECIPIENT_ID column. This table identifies the individuals or positions involved in the time and labor process, typically employees and their managers.
The integrity of data in HXC_DATA_APP_RULE_USAGES is dependent on the existence of corresponding records in these three parent tables. Any custom reports, integrations, or data fixes involving approval rule assignments must respect these relationships.
-
Table: HXC_DATA_APP_RULE_USAGES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_DATA_APP_RULE_USAGES, object_name:HXC_DATA_APP_RULE_USAGES, status:VALID, product: HXC - Time and Labor Engine , description: Data Approval Rule Usages , implementation_dba_data: HXC.HXC_DATA_APP_RULE_USAGES ,
-
Table: HXC_DATA_APP_RULE_USAGES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_DATA_APP_RULE_USAGES, object_name:HXC_DATA_APP_RULE_USAGES, status:VALID, product: HXC - Time and Labor Engine , description: Data Approval Rule Usages , implementation_dba_data: HXC.HXC_DATA_APP_RULE_USAGES ,
-
Table: HXC_APPROVAL_STYLES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_APPROVAL_STYLES, object_name:HXC_APPROVAL_STYLES, status:VALID, product: HXC - Time and Labor Engine , description: Approval Styles , implementation_dba_data: HXC.HXC_APPROVAL_STYLES ,
-
Table: HXC_APPROVAL_STYLES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_APPROVAL_STYLES, object_name:HXC_APPROVAL_STYLES, status:VALID, product: HXC - Time and Labor Engine , description: Approval Styles , implementation_dba_data: HXC.HXC_APPROVAL_STYLES ,
-
Table: HXC_TIME_ENTRY_RULES
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_TIME_ENTRY_RULES, object_name:HXC_TIME_ENTRY_RULES, status:VALID, product: HXC - Time and Labor Engine , description: Time Entry Rules , implementation_dba_data: HXC.HXC_TIME_ENTRY_RULES ,
-
Table: HXC_TIME_ENTRY_RULES
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_TIME_ENTRY_RULES, object_name:HXC_TIME_ENTRY_RULES, status:VALID, product: HXC - Time and Labor Engine , description: Time Entry Rules , implementation_dba_data: HXC.HXC_TIME_ENTRY_RULES ,
-
View: HXC_DATA_APP_RULE_USAGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_DATA_APP_RULE_USAGES_V, object_name:HXC_DATA_APP_RULE_USAGES_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_DATA_APP_RULE_USAGES_V ,
-
Table: HXC_TIME_RECIPIENTS
12.1.1
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_TIME_RECIPIENTS, object_name:HXC_TIME_RECIPIENTS, status:VALID, product: HXC - Time and Labor Engine , description: Time Recipients , implementation_dba_data: HXC.HXC_TIME_RECIPIENTS ,
-
Table: HXC_TIME_RECIPIENTS
12.2.2
owner:HXC, object_type:TABLE, fnd_design_data:HXC.HXC_TIME_RECIPIENTS, object_name:HXC_TIME_RECIPIENTS, status:VALID, product: HXC - Time and Labor Engine , description: Time Recipients , implementation_dba_data: HXC.HXC_TIME_RECIPIENTS ,
-
View: HXC_DATA_APP_RULE_USAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:HXC.HXC_DATA_APP_RULE_USAGES_V, object_name:HXC_DATA_APP_RULE_USAGES_V, status:VALID, product: HXC - Time and Labor Engine , implementation_dba_data: APPS.HXC_DATA_APP_RULE_USAGES_V ,