Search Results ap_tax_codes
Overview
PO_TAX_SHIPMENTS_DETAIL_V is a Purchasing (PO) module reporting view in Oracle E-Business Suite 12.1.1 and 12.2.2 that consolidates tax shipment detail across the three procurement document types: purchase orders, purchase order releases, and requisitions. It is documented under the ETRM reference for the PO product and is classified as a view rather than a base table. The view is not implemented as a database object in the reference environment, meaning it is supplied as a shipped Oracle view definition whose availability depends on the installed product set and patch level.
The central purpose of the view is to expose, for each shipment line, the applicable tax code name and the computed recoverable and non-recoverable tax amounts. Because tax recovery in EBS is derived at query time rather than stored on the shipment, the view invokes the PO_TAX_SUMMARY_PKG API functions GET_RECOVERABLE_TAX and GET_NONRECOVERABLE_TAX to calculate these values dynamically. This makes the view a convenience layer for tax reporting and reconciliation rather than a transactional store.
Underlying Base Objects
The view is defined as a three-branch UNION over shipment-level sources, joined to lines, headers, and tax codes. The documented referenced objects are:
- PO_LINE_LOCATIONS_V — the primary shipment source for standard purchase orders, supplying shipment number, cancel and closed flags, ship-to location, currency, quantity, unit price, and amount columns.
- PO_LINE_LOCATIONS_RELEASE_V — the equivalent shipment source for release-based documents, supplying the same shipment attributes plus PRICE_OVERRIDE.
- PO_LINES — joined on PO_LINE_ID and used to read ORDER_TYPE_LOOKUP_CODE, which drives the DECODE logic that distinguishes fixed price from rate-based ordering.
- PO_HEADERS — joined on PO_HEADER_ID to supply the header currency code where the line-level currency is null.
- AP_TAX_CODES — joined on PLL.TAX_CODE_ID = APT.TAX_ID with an outer join, supplying the tax code NAME exposed as a column.
- Requisition sources (PRL/PRH) — the third UNION branch, sourced from requisition line and header data, contributing REQUISITION_HEADER_ID, REQUISITION_LINE_ID, LINE_NUM, DEST_ORGANIZATION, CANCEL_FLAG, CLOSED_CODE, and currency.
ETRM records no referenced base objects for this view in its metadata, so the join structure above is drawn from the shipped view text rather than from a documented dependency list.
Key Columns
- A literal document-type discriminator ('PO', 'REL', 'REQ') as the first column, identifying which procurement document produced the row.
- PO_HEADER_ID / PO_RELEASE_ID / REQUISITION_HEADER_ID and the corresponding line identifiers, providing the primary keys needed to trace the row back to source.
- LINE_LOCATION_ID and SHIPMENT_NUM, the shipment-level identifiers used by the tax summary package calls.
- CANCEL_FLAG and CLOSED_CODE, indicating shipment status.
- SHIP_TO_LOCATION_CODE and DEST_ORGANIZATION, the receiving destination.
- Currency code, resolved with NVL from line level to header level.
- The tax code NAME from AP_TAX_CODES.
- Recoverable and non-recoverable tax amounts, computed by PO_TAX_SUMMARY_PKG for document type 'PO'/'REL' or requisition with ship/shipment granularity.
- Calculated extended amount, derived via DECODE on ORDER_TYPE_LOOKUP_CODE: amount less cancelled amount for fixed price, or quantity less cancelled quantity multiplied by unit price (or PRICE_OVERRIDE) for rate-based lines.
- PLL.QUANTITY, PLL.QUANTITY_CANCELLED, PLL.AMOUNT, and PLL.AMOUNT_CANCELLED.
Common Use Cases and Queries
The view is typically used for tax recovery analysis, accrual reconciliation, and shipment-level tax reporting. Because it references AP_TAX_CODES, it is a natural starting point for queries that begin from a tax code context, such as the search term "ap_tax_codes". A representative query filters by tax code name and document type:
- Listing all purchase order shipments bearing a given tax code: SELECT * FROM PO_TAX_SHIPMENTS_DETAIL_V WHERE name = :tax_code AND ROWNUM <= 100.
- Summarising recoverable versus non-recoverable tax by tax code: SELECT name, SUM(recoverable_tax), SUM(nonrecoverable_tax) FROM PO_TAX_SHIPMENTS_DETAIL_V GROUP BY name.
- Extracting only requisition-branch rows for requisition tax analysis by filtering on the document-type literal.
Performance is a consideration: the package functions execute per row, so the view should be filtered aggressively before aggregation.
-
APPS.JL_JLARPPFF_XMLP_PKG SQL Statements
12.1.1
-
APPS.JL_JLARPPFF_XMLP_PKG SQL Statements
12.2.2
-
View: PO_TAX_SHIPMENTS_DETAIL_V
12.1.1
product: PO - Purchasing , implementation_dba_data: Not implemented in this database ,
-
View: PO_TAX_SHIPMENTS_DETAIL_V
12.2.2
product: PO - Purchasing , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.JG_AP_TAX_LINES_SUMMARY_V
12.2.2
-
VIEW: APPS.JG_AP_TAX_LINES_SUMMARY_V
12.1.1
-
VIEW: APPS.AP_CHARGES_V
12.1.1
-
VIEW: APPS.AP_CHARGES_V
12.2.2
-
View: JG_AP_TAX_LINES_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JG.JG_AP_TAX_LINES_SUMMARY_V, object_name:JG_AP_TAX_LINES_SUMMARY_V, status:VALID, product: JG - Regional Localizations , description: No longer used , implementation_dba_data: APPS.JG_AP_TAX_LINES_SUMMARY_V ,
-
View: JG_AP_TAX_LINES_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JG.JG_AP_TAX_LINES_SUMMARY_V, object_name:JG_AP_TAX_LINES_SUMMARY_V, status:VALID, product: JG - Regional Localizations , implementation_dba_data: APPS.JG_AP_TAX_LINES_SUMMARY_V ,
-
VIEW: APPS.JG_PO_TAX_LINES_SUMMARY_V
12.1.1
-
VIEW: APPS.JG_PO_REQ_TAX_LINES_SUMMARY_V
12.1.1
-
VIEW: APPS.JG_PO_REL_TAX_LINES_SUMMARY_V
12.1.1
-
View: AP_TAX_LINES_SUMMARY_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
APPS.JA_KR_AP_SPECIAL_WH_PKG SQL Statements
12.2.2
-
APPS.JA_KR_AP_SPECIAL_WH_PKG SQL Statements
12.1.1
-
View: AP_TAX_LINES_SUMMARY_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_TAX_CODES_VAL_V
12.1.1
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
View: PO_TAX_LINES_SUMMARY_V
12.1.1
product: PO - Purchasing , implementation_dba_data: Not implemented in this database ,
-
View: POR_TAX_CODE_LOV_V
12.1.1
product: ICX - Oracle iProcurement , description: View to get tax codes , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.JL_ZZ_SH_LIBRARY_1_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_SH_LIBRARY_1_PKG, status:VALID,
-
View: AP_TAX_CODES_VAL_V
12.2.2
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
APPS.JL_JLCOPWHR_XMLP_PKG SQL Statements
12.1.1
-
VIEW: APPS.POS_ASN_REVIEW_SHIPMENTS_V
12.1.1
-
VIEW: APPS.POS_ASN_REVIEW_SHIPMENTS_V
12.2.2
-
View: PO_TAX_LINES_SUMMARY_V
12.2.2
product: PO - Purchasing , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.POS_ASN_SHIPMENT_DETAILS_V
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_SH_LIBRARY_1_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_ZZ_SH_LIBRARY_1_PKG, status:VALID,
-
View: AP_TAX_CODES_TN_V
12.2.2
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
View: POR_TAX_CODE_LOV_V
12.2.2
product: ICX - Oracle iProcurement , description: View to get tax codes , implementation_dba_data: Not implemented in this database ,
-
View: AP_TAX_CODES_TN_V
12.1.1
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.POS_ASN_SHIPMENT_DETAILS_V
12.2.2
-
PACKAGE BODY: APPS.JL_JLCOPWHR_XMLP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JL_JLCOPWHR_XMLP_PKG, status:VALID,
-
PACKAGE BODY: APPS.JL_JLCOPWHR_XMLP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JL_JLCOPWHR_XMLP_PKG, status:VALID,
-
PACKAGE: APPS.AP_WEB_OA_DETAIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_WEB_OA_DETAIL_PKG, status:VALID,
-
APPS.JL_JLCOPWHR_XMLP_PKG SQL Statements
12.2.2
-
View: JG_PO_TAX_LINES_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JG.JG_PO_TAX_LINES_SUMMARY_V, object_name:JG_PO_TAX_LINES_SUMMARY_V, status:VALID, product: JG - Regional Localizations , implementation_dba_data: APPS.JG_PO_TAX_LINES_SUMMARY_V ,
-
View: JG_PO_REL_TAX_LINES_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JG.JG_PO_REL_TAX_LINES_SUMMARY_V, object_name:JG_PO_REL_TAX_LINES_SUMMARY_V, status:VALID, product: JG - Regional Localizations , implementation_dba_data: APPS.JG_PO_REL_TAX_LINES_SUMMARY_V ,
-
PACKAGE BODY: APPS.JA_KR_AP_SPECIAL_WH_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JA_KR_AP_SPECIAL_WH_PKG, status:VALID,
-
View: JG_PO_REQ_TAX_LINES_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JG.JG_PO_REQ_TAX_LINES_SUMMARY_V, object_name:JG_PO_REQ_TAX_LINES_SUMMARY_V, status:VALID, product: JG - Regional Localizations , implementation_dba_data: APPS.JG_PO_REQ_TAX_LINES_SUMMARY_V ,
-
PACKAGE: APPS.IGC_CC_BUDGETARY_CTRL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IGC_CC_BUDGETARY_CTRL_PKG, status:VALID,
-
PACKAGE: APPS.IGC_CC_BUDGETARY_CTRL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGC_CC_BUDGETARY_CTRL_PKG, status:VALID,
-
View: AP_TAX_CODES_NAMES_V
12.1.1
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
View: AP_TAX_CODES_NAMES_V
12.2.2
product: AP - Payables , description: (Release 10SC Only) , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.IGI_CIS2007_CERT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:IGI_CIS2007_CERT_PKG, status:VALID,
-
PACKAGE BODY: APPS.JA_KR_AP_SPECIAL_WH_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JA_KR_AP_SPECIAL_WH_PKG, status:VALID,
-
APPS.JL_ZZ_SH_LIBRARY_1_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AP_EXTENDED_WITHHOLDING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_EXTENDED_WITHHOLDING_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_EXTENDED_WITHHOLDING_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_EXTENDED_WITHHOLDING_PKG, status:VALID,
-
APPS.PO_AP_TAX_CODES_SV SQL Statements
12.1.1