Search Results pattern_purpose
Overview
HR_CALENDAR_USAGES_V is a view owned by the APPS schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It belongs to the PER (Human Resources) product family and is documented in ETRM as a UI-supporting object: "Used to support user interface." The view consolidates calendar usage records stored in HR_CALENDAR_USAGES with pattern-purpose configuration held in HR_PATTERN_PURPOSE_USAGES, and resolves the human-readable meanings of those lookups through HR_LOOKUPS. It joins each usage to a schedulable entity — a person or an assignment — so that forms and concurrent programs can display the correct entity reference, lookup meaning, and pattern purpose for each calendar usage.
Because the view enforces session-scoped security and effective-dating logic internally, it presents a ready-to-consume rowset for reporting and integration rather than a raw table image. The pattern_purpose searched by the user appears here as PPU.PATTERN_PURPOSE, resolved against the PATTERN_PURPOSE lookup type to produce PURPOSE.MEANING.
Underlying Base Objects
The documented underlying objects span tables, views, synonyms, and packages:
- HR_PATTERN_PURPOSE_USAGES (synonym) — the driving table supplying PURPOSE_USAGE_ID, ENTITY_NAME, and PATTERN_PURPOSE.
- HR_CALENDAR_USAGES (synonym) — the base usage records with CALENDAR_ID, CALENDAR_USAGE_ID, PRIMARY_KEY_VALUE, START_DATE, END_DATE, and audit columns.
- PER_ALL_PEOPLE_F (synonym) and PER_ASSIGNMENTS_F (view) — the schedulable entities joined via UNION ALL branches for person and assignment primary keys.
- HR_LOOKUPS (view) — joined twice, once as ENT for SCHEDULABLE_ENTITY meanings and once as PURPOSE for PATTERN_PURPOSE meanings.
- FND_SESSIONS (synonym) — ties the rowset to the current USERENV('SESSIONID') and effective date.
- Supporting metadata references include FND_PROFILE, HR_API, HR_GENERAL, HR_LOCATIONS, HR_ORGANIZATION_UNITS, HR_POSITIONS_F, HR_SECURITY, PER_JOBS_TL, and HR_SECURITY packages.
The UNION ALL structure separates the person entity (returning ENTITY.FULL_NAME) from the assignment entity (returning ENTITY.ASSIGNMENT_NUMBER), so the "primary key" column has different semantic meaning per branch.
Key Columns
- CALENDAR_ID / CALENDAR_USAGE_ID — primary keys identifying the calendar and its usage row.
- PRIMARY_KEY_VALUE — the entity key; a PERSON_ID in the person branch, an assignment identifier in the assignment branch.
- PURPOSE_USAGE_ID — links the usage to its pattern-purpose configuration.
- START_DATE / END_DATE — full datetime values, supplemented by truncated date and HH24:MI time representations.
- ENTITY_NAME — the schedulable entity type ("PERSON" or assignment).
- PATTERN_PURPOSE — the lookup code whose meaning the user is retrieving.
- The lookup MEANING columns — human-readable descriptions of the entity and the pattern purpose.
- Audit columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER).
Common Use Cases and Queries
Typical scenarios include verifying which calendars apply to a person, extracting usages by pattern purpose, and validating pattern-purpose lookup configuration. A sample query filtered on pattern purpose:
SELECT calendar_usage_id, primary_key_value, entity_name, pattern_purpose, start_date, end_date FROM apps.hr_calendar_usages_v WHERE pattern_purpose = :p_pattern_purpose;- Reporting all person-level usages:
SELECT ... WHERE entity_name = 'PERSON' AND primary_key_value = :person_id; - Resolving lookup meanings: selecting the MEANING columns alongside PATTERN_PURPOSE for display or reconciliation.
Because FND_SESSIONS and HR_SECURITY constrain results, queries executed outside an initialized EBS session may return no rows, and effective-dated entities reflect only the session's effective date.
-
Lookup Type: PATTERN_PURPOSE
12.2.2
product: PER - Human Resources , meaning: PATTERN PURPOSE , description: Use to which a work pattern is or may be put ,
-
Lookup Type: PATTERN_PURPOSE
12.1.1
product: PER - Human Resources , meaning: PATTERN PURPOSE , description: Use to which a work pattern is or may be put ,
-
View: HR_CALENDAR_USAGES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_CALENDAR_USAGES_V, object_name:HR_CALENDAR_USAGES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_CALENDAR_USAGES_V ,
-
Table: HR_PATTERN_PURPOSE_USAGES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERN_PURPOSE_USAGES, object_name:HR_PATTERN_PURPOSE_USAGES, status:VALID, product: PER - Human Resources , description: Valid combinations of entities and pattern purposes. , implementation_dba_data: HR.HR_PATTERN_PURPOSE_USAGES ,
-
View: HR_PATTERN_PURPOSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_PATTERN_PURPOSES_V, object_name:HR_PATTERN_PURPOSES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_PATTERN_PURPOSES_V ,
-
View: HR_PATTERN_PURPOSES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_PATTERN_PURPOSES_V, object_name:HR_PATTERN_PURPOSES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_PATTERN_PURPOSES_V ,
-
Table: HR_PATTERN_PURPOSE_USAGES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERN_PURPOSE_USAGES, object_name:HR_PATTERN_PURPOSE_USAGES, status:VALID, product: PER - Human Resources , description: Valid combinations of entities and pattern purposes. , implementation_dba_data: HR.HR_PATTERN_PURPOSE_USAGES ,
-
View: HR_CALENDAR_USAGES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_CALENDAR_USAGES_V, object_name:HR_CALENDAR_USAGES_V, status:VALID, product: PER - Human Resources , description: Used to support user interface , implementation_dba_data: APPS.HR_CALENDAR_USAGES_V ,
-
Table: HR_PATTERN_PURPOSES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERN_PURPOSES, object_name:HR_PATTERN_PURPOSES, status:VALID, product: PER - Human Resources , description: Potential purpose for the parent pattern, eg 'Work Pattern', 'Resource schedule', etc. , implementation_dba_data: HR.HR_PATTERN_PURPOSES ,
-
Table: HR_PATTERN_PURPOSES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_PATTERN_PURPOSES, object_name:HR_PATTERN_PURPOSES, status:VALID, product: PER - Human Resources , description: Potential purpose for the parent pattern, eg 'Work Pattern', 'Resource schedule', etc. , implementation_dba_data: HR.HR_PATTERN_PURPOSES ,