Search Results ap_pol_headers
Overview
The AP_POL_HEADERS table is a core data object within the Oracle E-Business Suite Payables (AP) module, specifically for releases 12.1.1 and 12.2.2. It serves as the master repository for policy schedule header information. In the context of Oracle Payables, a policy schedule defines the rules and parameters governing employee expense reporting and reimbursement. This table acts as the central definition point for each unique expense policy, storing the high-level attributes that are then detailed in related child tables. Its existence is fundamental to the configuration and enforcement of corporate expense policies, enabling structured control over per-diem rates, mileage reimbursements, and other expense-related allowances.
Key Information Stored
The table's primary key is the POLICY_ID, a unique identifier for each expense policy. As indicated by the foreign key relationships, other critical columns include CURRENCY_CODE, which links to FND_CURRENCIES to define the policy's default currency, and JOB_GROUP_ID, linking to PER_JOB_GROUPS to allow policy assignment based on job classifications. While the provided metadata does not list all columns, typical data stored in such a header table would include the policy name (POLICY_NAME), an effective date range (START_DATE, END_DATE), a description, and flags controlling the policy's active status and overall behavior. The header record establishes the foundational context for all subsequent policy details.
Common Use Cases and Queries
This table is primarily accessed for policy setup, maintenance, and reporting. Common operational scenarios include identifying all active policies for a given currency or job group, and generating a list of policies effective on a specific date. A typical query would join AP_POL_HEADERS to its child tables, such as AP_POL_LINES, to report a complete policy definition. For instance, to audit policy assignments, one might query which operating units (via AP_EXPENSE_REPORT_PARAMS_ALL) use a specific company policy. A fundamental sample SQL pattern is:
- SELECT policy_id, policy_name, currency_code, start_date, end_date FROM ap_pol_headers WHERE sysdate BETWEEN start_date AND NVL(end_date, sysdate) AND enabled_flag = 'Y';
This retrieves all currently active policies, which is essential for real-time expense report validation.
Related Objects
AP_POL_HEADERS is a pivotal table with several key dependencies, as documented in its foreign key constraints. It has a one-to-many relationship with critical child tables: AP_POL_LINES (which holds the specific policy rules and rates), AP_POL_SCHEDULE_OPTIONS, and AP_POL_SCHEDULE_PERIODS. Furthermore, it is referenced by AP_EXPENSE_REPORT_PARAMS_ALL, which links a policy to a specific operating unit's expense report parameters. For currency and job group validation, it depends on the foundational tables FND_CURRENCIES and PER_JOB_GROUPS, respectively. Any integration or data fix involving expense policies must consider this interconnected hierarchy to maintain data integrity.
-
Table: AP_POL_HEADERS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_HEADERS, object_name:AP_POL_HEADERS, status:VALID, product: AP - Payables , description: This table stores the policy schedule header information. , implementation_dba_data: AP.AP_POL_HEADERS ,
-
Table: AP_POL_HEADERS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_HEADERS, object_name:AP_POL_HEADERS, status:VALID, product: AP - Payables , description: This table stores the policy schedule header information. , implementation_dba_data: AP.AP_POL_HEADERS ,
-
Table: AP_POL_SCHEDULE_PERIODS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_SCHEDULE_PERIODS, object_name:AP_POL_SCHEDULE_PERIODS, status:VALID, product: AP - Payables , description: This table stores policy schedule period information. , implementation_dba_data: AP.AP_POL_SCHEDULE_PERIODS ,
-
Table: AP_POL_LINES
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_LINES, object_name:AP_POL_LINES, status:VALID, product: AP - Payables , description: This table stores the policy schedule line information. , implementation_dba_data: AP.AP_POL_LINES ,
-
Table: AP_POL_SCHEDULE_PERIODS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_SCHEDULE_PERIODS, object_name:AP_POL_SCHEDULE_PERIODS, status:VALID, product: AP - Payables , description: This table stores policy schedule period information. , implementation_dba_data: AP.AP_POL_SCHEDULE_PERIODS ,
-
Table: AP_EXPENSE_REPORT_PARAMS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_PARAMS_ALL, object_name:AP_EXPENSE_REPORT_PARAMS_ALL, status:VALID, product: AP - Payables , description: Expense type information for expense report templates , implementation_dba_data: AP.AP_EXPENSE_REPORT_PARAMS_ALL ,
-
Table: AP_EXPENSE_REPORT_PARAMS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_EXPENSE_REPORT_PARAMS_ALL, object_name:AP_EXPENSE_REPORT_PARAMS_ALL, status:VALID, product: AP - Payables , description: Expense type information for expense report templates , implementation_dba_data: AP.AP_EXPENSE_REPORT_PARAMS_ALL ,
-
Table: AP_POL_LINES
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_LINES, object_name:AP_POL_LINES, status:VALID, product: AP - Payables , description: This table stores the policy schedule line information. , implementation_dba_data: AP.AP_POL_LINES ,
-
Table: AP_POL_SCHEDULE_OPTIONS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_SCHEDULE_OPTIONS, object_name:AP_POL_SCHEDULE_OPTIONS, status:VALID, product: AP - Payables , description: This table stores policy schedule-specific rules. , implementation_dba_data: AP.AP_POL_SCHEDULE_OPTIONS ,
-
Table: AP_POL_SCHEDULE_OPTIONS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_POL_SCHEDULE_OPTIONS, object_name:AP_POL_SCHEDULE_OPTIONS, status:VALID, product: AP - Payables , description: This table stores policy schedule-specific rules. , implementation_dba_data: AP.AP_POL_SCHEDULE_OPTIONS ,