Results for “week_end_date”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AP_EXPENSE_REPORT_VIOLATIONS_V is a PL/SQL view owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. It is part of the Oracle Payables (AP) product family and belongs to the Oracle Internet Expenses / Payables expense reporting subsystem. The view presents all expense report policy violations together with the corresponding expense report lines that are either ready for payment or have already been paid. Its status is VALID and it is documented in the ETRM repository for 12.2.2.
The view is intended for reporting and integration scenarios where organizations need visibility into employee expense reports that breach corporate expense policies — for example, exceeding daily spending limits or missing a required cost center — while simultaneously exposing the payable or already-paid financial context of the affected expense line. Because it filters to reports in statuses that are manager-approved-and-payable, invoiced, or paid, it is useful for audit, reconciliation, and downstream payment analysis rather than for reviewing reports still in submission or approval.
Underlying Base Objects
The view is defined over the following documented base objects:
- AP_EXPENSE_REPORT_HEADERS_ALL — the expense report header, providing the employee, report header identifier, week end date, invoice number, source, workflow approval flag, and expense status.
- AP_EXPENSE_REPORT_LINES_ALL — the expense report distribution lines, supplying the line amount, currency, category, submitted amount, receipt amounts, and itemization parent relationship.
- AP_POL_VIOLATIONS_ALL — the policy violation repository, supplying violation number, violation type, violation date, allowable amount, and exceeded amount.
- AP_EXPENSE_REPORT_PARAMS_ALL and AP_EXPENSE_REPORTS_ALL — referenced in a NOT EXISTS subquery that excludes personal (non-payable) expense types from the result set.
- AP_WEB_OA_ACTIVE_PKG — a package invoked through AP_WEB_OA_ACTIVE_PKG.GETREPORTSTATUSCODE to derive the expense status when EXPENSE_STATUS_CODE is null.
Headers, lines, and violations are joined on REPORT_HEADER_ID, DISTRIBUTION_LINE_NUMBER, and ORG_ID, ensuring that a violation row is aligned with its exact expense distribution line for the same operating unit.
Key Columns
- EMPLOYEE_ID / PAID_ON_BEHALF_EMPLOYEE_ID — the expense submitter and any other employee the expenses were incurred on behalf of.
- WEEK_END_DATE / INVOICE_NUM / REPORT_HEADER_ID — report identification and the associated invoice when the report has been invoiced.
- AMOUNT / CURRENCY_CODE / SUBMITTED_AMOUNT / DAILY_AMOUNT / RECEIPT_CURRENCY_AMOUNT — expense line monetary values in both report and receipt currencies.
- DISTRIBUTION_LINE_NUMBER / REPORT_LINE_ID / ITEMIZATION_PARENT_ID / CATEGORY_CODE — line-level identifiers and expense category.
- VIOLATION_NUMBER / VIOLATION_TYPE / VIOLATION_DATE — the policy violation identity, with type such as DAILY_SUM_LIMIT or CC_REQUIRED.
- ALLOWABLE_AMOUNT — derived via DECODE; it returns 0 for DAILY_SUM_LIMIT and CC_REQUIRED, otherwise the stored allowable amount.
- VIOLATION_AMOUNT — derived via DECODE; it returns 0 when the violation type is null or CC_REQUIRED, otherwise the exceeded amount.
Common Use Cases and Queries
Typical uses include auditing expense policy breaches on paid or payable reports, feeding exception reports to internal audit, and reconciling violation amounts against expense amounts. Reports flagged as NONVALIDATEDWEBEXPENSE with a null workflow approval flag, reports sourced as BOTH PAY, personal expense types, and itemization parents equal to -1 are excluded by the view's predicates.
Example query listing violations for an employee:
SELECT report_header_id, invoice_num, violation_number, violation_type, violation_amount, allowable_amount, amount, currency_code FROM ap_expense_report_violations_v WHERE employee_id = :p_employee_id ORDER BY week_end_date, report_header_id;
Example query aggregating exceeded amounts by violation type:
SELECT violation_type, COUNT(*) violations, SUM(violation_amount) total_exceeded FROM ap_expense_report_violations_v GROUP BY violation_type ORDER BY 3 DESC;
These patterns make the view a convenient, single-source structure for expense policy compliance analysis without querying the underlying header, line, and violation tables separately.
-
View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_VIOLATIONS_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View: MSD_TIME_V 12.1.1
This view gives the definition for the time hierarchies for all the time hierarchies - Gregorian, Manufacturing and fiscal hierarchies.
-
View: GMP_MFG_TIME_WEEKS_V 12.1.1
The query selects all calendar defined in OPM process manufacturing module and prepare week data for GMP_SR_MFG_TIME_V view.This view is internally used by GMP_SR_MFG_TIME_V. In short it is a supporting view.
APPS.GMP_MFG_TIME_WEEKS_V·↳ MR_SHCL_DTL·Explore GMP module →
-
View: GMP_SR_MFG_TIME_V 12.1.1
-
View: GMP_SR_MFG_TIME_V 12.2.2
Manfacturing calendar / time view for Demand Planner
-
View for all expense report violations and corresponding expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_VIOLATIONS_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
This is a time dimension table storing day information.
-
View: MSD_TIME_V 12.2.2
This view gives the definition for the time hierarchies for all the time hierarchies - Gregorian, Manufacturing and fiscal hierarchies.
-
View: GMP_MFG_TIME_WEEKS_V 12.2.2
The query selects all calendar defined in OPM process manufacturing module and prepare week data for GMP_SR_MFG_TIME_V view.This view is internally used by GMP_SR_MFG_TIME_V. In short it is a supporting view.
APPS.GMP_MFG_TIME_WEEKS_V·↳ MR_SHCL_DTL·Explore GMP module →
-
Table: MSD_TIME 12.1.1
This is the fact table that stores the Time Information.
-
View: MSD_SR_MFG_TIME_V 12.2.2
This is the Source View for Manufacturing Calendar. This view would be applied to an Oracle Applications 11i instance from which the Manufacturing Forecast information is to be retrieved.
APPS.MSD_SR_MFG_TIME_V·↳ BOM_CALENDAR_DATES·↳ BOM_CAL_WEEK_START_DATES·↳ BOM_PERIOD_START_DATES·Explore MSD module →
-
View: MSD_SR_MFG_TIME_V 12.1.1
This is the Source View for Manufacturing Calendar. This view would be applied to an Oracle Applications 11i instance from which the Manufacturing Forecast information is to be retrieved.
APPS.MSD_SR_MFG_TIME_V·↳ BOM_CALENDAR_DATES·↳ BOM_CAL_WEEK_START_DATES·↳ BOM_PERIOD_START_DATES·Explore MSD module →
-
View: WIP_BIS_PERF_TO_PLAN_V 12.2.2
Number of items produced/scheduled
APPS.WIP_BIS_PERF_TO_PLAN_V·↳ BOM_ORG_CAL_WEEKS_VIEW·↳ HR_GENERAL·↳ HR_SECURITY·Explore WIP module →
-
View: WIP_BIS_PERF_TO_PLAN_V 12.1.1
Number of items produced/scheduled
APPS.WIP_BIS_PERF_TO_PLAN_V·↳ BOM_ORG_CAL_WEEKS_VIEW·↳ HR_GENERAL·↳ HR_SECURITY·Explore WIP module →
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
View for all expense report lines that are ready for payment or have already been paid.
APPS.AP_EXPENSE_REPORT_LINES_V·↳ AP_EXPENSE_REPORTS_ALL·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_EXPENSE_REPORT_LINES_ALL·Explore AP module →
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HEADERS_V·↳ AP_AWT_GROUPS·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·Explore AP module →
-
Header information about employee expense reports
-
Table: MSD_ST_TIME 12.2.2
Staging table that stores the calender information.
-
Table: MSD_ST_TIME 12.1.1
Staging table that stores the calender information.
-
APPS.APBV_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_WEB_OA_ACTIVE_PKG·Explore AP module →
-
Table: MSD_TIME 12.2.2
This is the fact table that stores the Time Information.
-
Header information about employee expense reports
-
APPS.APBV_EXPENSE_REPORT_HEADERS·↳ AP_EXPENSE_REPORT_HEADERS_ALL·↳ AP_WEB_OA_ACTIVE_PKG·Explore AP module →
-
Expense Report History in Oracle Internet Expenses is based on this view
APPS.AP_EXPENSE_REPORT_HEADERS_V·↳ AP_AWT_GROUPS·↳ AP_EXPENSE_REPORTS·↳ AP_EXPENSE_REPORT_HEADERS·Explore AP module →
-
OIE Archive Table for Expense Report Headers
-
Time dimension
-
VIEW: MSC.MSC_HP_COL_DTLS# 12.2.2
-
VIEW: HRI.HRI_TIME_DAY# 12.2.2
-
VIEW: MSD.MSD_TIME_LB# 12.2.2
-
VIEW: MSD.MSD_DEM_TIME# 12.2.2
-
VIEW: APPS.MSD_TIME_LB_V 12.1.1
-
VIEW: APPS.MSD_TIME_LB_V 12.2.2
-
VIEW: APPS.MSD_TIME_V 12.1.1
-
VIEW: QPR.QPR_TIME# 12.2.2
-
VIEW: MSD.MSD_TIME# 12.2.2
-
VIEW: MSD.MSD_ST_TIME# 12.2.2