Results for “price_discount”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PO_VAL_SHIPMENTS2 is a validation package in the Oracle E-Business Suite APPS schema that evaluates the shipment-level attributes of a purchase order line location before the record is committed to the database. Within the Oracle Purchasing module, a shipment corresponds to a row in PO_LINE_LOCATIONS_ALL, and PO_VAL_SHIPMENTS2 is the component responsible for applying the field-level validation rules that govern those rows. It forms part of the layered validation framework invoked by PO_VALIDATIONS, and its results are written into the standard validation results structure so that the calling form or interface can report errors and warnings back to the user.
The package does not perform the insert or update itself. Instead, it inspects candidate values, compares them against reference data such as item master attributes, organisation definitions, freight terms, and document style configuration, and returns a structured result set. This separation allows the same validation logic to be reused by the Purchasing forms, by the replenishment and sourcing flows, and by custom inbound interfaces.
Key Procedures and Functions
The package exposes twenty-eight documented procedures and functions, each targeting a discrete shipment attribute:
- NEED_BY_DATE, PROMISED_DATE, EFFECTIVE_DATES — validate the date fields on the shipment, including ordering of the need-by and promised dates.
- SHIPMENT_TYPE, PAYMENT_TYPE, SHIPMENT_NUM — validate enumerated and identifying shipment attributes.
- QUANTITY, AMOUNT — check numeric values against tolerance and sign rules.
- PRICE_OVERRIDE, PRICE_DISCOUNT, PRICE_BREAK_ATTRIBUTES — validate pricing-related shipment attributes and their consistency with the line.
- SHIP_TO_ORGANIZATION_ID, ENFORCE_SHIP_TO_LOC_CODE — confirm that the ship-to organisation and location are valid and permitted for the transaction.
- ALLOW_SUB_RECEIPTS_FLAG, DAYS_EARLY_RECEIPT_ALLOWED, RECEIPT_DAYS_EXCEPTION_CODE, ACCRUE_ON_RECEIPT_FLAG — validate receiving and accrual controls at shipment level.
- INVOICE_CLOSE_TOLERANCE, RECEIVE_CLOSE_TOLERANCE — validate the close tolerance percentages used for automatic closure.
- RECEIVING_ROUTING_ID — confirm the routing reference is valid for the shipment.
Tables Accessed
Validation depends on reference data drawn through APPS synonyms. MTL_SYSTEM_ITEMS and MTL_ITEM_REVISIONS supply item-level attributes that constrain acceptable shipment values. PO_LINE_LOCATIONS_ALL and PO_LINE_LOCATIONS_DRAFT_ALL provide the current and draft shipment rows under evaluation. PO_DOC_STYLE_HEADERS supplies document style configuration that determines which validations apply, ORG_FREIGHT supplies freight terms, and ZX_ID_TCC_MAPPING supports tax classification. PO_VALIDATION_RESULTS_GT is the global temporary table into which validation messages are written, while DUAL and the PL/SQL table types PO_TBL_DATE, PO_TBL_NUMBER, PO_TBL_VARCHAR1, PO_TBL_VARCHAR5, PO_TBL_VARCHAR30, and PO_VALIDATION_RESULTS_TYPE carry the in-memory collections used to pass attribute values and results between procedures. The PO_TBL_VARCHAR5 collection is significant because it is the type commonly used to hold short coded values, including the descriptive flexfield column po_tbl_varchar5 referenced by users searching on that term; the flexfield columns on the shipment record are passed into this package through such PL/SQL table types.
Usage Notes
PO_VAL_SHIPMENTS2 is invoked indirectly rather than called directly by end users. The Purchasing shipment and line-location forms call PO_VALIDATIONS, which in turn invokes the individual validation routines in this package at the point of save. Interfaces and custom PL/SQL that insert or update PO_LINE_LOCATIONS_ALL should follow the same pattern, populating the relevant PL/SQL table types and PO_VALIDATION_RESULTS_TYPE before checking the returned messages. Because the package writes to a global temporary table, callers must read results within the same session. The package is referenced by PO_VALIDATIONS and is itself dependent on the PO_TBL collection types, so changes to those type definitions can invalidate it and require recompilation.
-
Contains the response details for an shipment in a negotiation
-
View: POS_PO_DETAILS_V 12.2.2
APPS.POS_PO_DETAILS_V·↳ AP_TAX_CODES·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
Contains the response details for an shipment in a negotiation
-
Store tempory data for Price Breaks spreadsheet uploading.
-
For Internal Use Only: This table is global temporary table based on po_line_locations_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
View on po_line_locations table.
APPS.PO_LINE_LOCATIONS_TRX_V·↳ PO_CLM_INTG_GRP·↳ PO_DISTRIBUTIONS_ALL·↳ PO_LINES_TRX_V·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_RFQQT_V·↳ AP_TERMS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: POS_PO_DETAILS_V 12.1.1
APPS.POS_PO_DETAILS_V·↳ AP_TAX_CODES·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ HR_LOCATIONS_ALL·Explore PO module →
-
- Retrofitted
APPS.PO_QUOTATIONS_TO_APPROVE·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: POS_PO_DETAILS_V 12.2.2
Fetches all the information related to a purchase order
APPS.POS_PO_DETAILS_V·↳ AP_TAX_CODES·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore POS module →
-
View: PO_LINE_LOCATIONS_V 12.2.2
- Retrofitted
APPS.PO_LINE_LOCATIONS_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
View: AP_PO_CORRECTIONS_V 12.1.1
APPS.AP_PO_CORRECTIONS_V·↳ AP_INVOICES_ALL·↳ AP_INVOICE_LINES_ALL·↳ AP_LOOKUP_CODES·Explore AP module →
-
View: AP_PO_CORRECTIONS_V 12.2.2
APPS.AP_PO_CORRECTIONS_V·↳ AP_INVOICES·↳ AP_INVOICE_LINES_ALL·↳ AP_LOOKUP_CODES·Explore AP module →
-
View: PO_LINE_LOCATIONS_AP_V 12.2.2
10SC ONLY
APPS.PO_LINE_LOCATIONS_AP_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_GENERAL·Explore PO module →
-
View: PO_OWNED_SHIPMENTS 12.1.1
Security view for owned purchase order shipments
APPS.PO_OWNED_SHIPMENTS·↳ PO_HEADERS_ALL·↳ PO_LINE_LOCATIONS·Explore PO module →
-
APPS.PO_LINE_LOCATIONS_ARCHIVE_XML·↳ MTL_UNITS_OF_MEASURE_TL·↳ PO_COMMUNICATION_GT·↳ PO_COMMUNICATION_PVT·Explore PO module →
-
For Internal Use Only: This table is global temporary table based on po_line_locations_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
Draft table for PO_LINE_LOCATIONS_ALL
-
Interface table for purchase order lines
-
Interface table for purchase order line locations
-
View: PO_LINE_LOCATIONS_V 12.1.1
- Retrofitted
APPS.PO_LINE_LOCATIONS_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
View: POS_PO_LINES_V 12.2.2
APPS.POS_PO_LINES_V·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·↳ HR_GENERAL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_RFQQT_V·↳ AP_TERMS·↳ HR_GENERAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_RELEASE_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
View: PO_LINE_LOCATIONS_AP_V 12.1.1
10SC ONLY
APPS.PO_LINE_LOCATIONS_AP_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_GENERAL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_RELEASE_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
APPS.POS_PO_EXPECTED_RECEIPTS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore PO module →
-
View: PO_OWNED_SHIPMENTS 12.2.2
Security view for owned purchase order shipments
APPS.PO_OWNED_SHIPMENTS·↳ PO_HEADERS_ALL·↳ PO_LINE_LOCATIONS·Explore PO module →
-
APPS.PO_LINE_LOCATIONS_MERGE_V·↳ PO_DRAFTS·↳ PO_LINE_LOCATIONS_ALL·↳ PO_LINE_LOCATIONS_DRAFT_ALL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_INQ_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ FND_TERRITORIES_TL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.PO_LINE_LOCATIONS_INQ_V·↳ AP_TERMS·↳ FND_TERRITORIES_TL·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore PO module →
-
APPS.PO_LINE_LOCATIONS_ARCHIVE_XML·↳ MTL_UNITS_OF_MEASURE_TL·↳ PO_COMMUNICATION_GT·↳ PO_COMMUNICATION_PVT·Explore PO module →
-
- Retrofitted
APPS.PO_QUOTATIONS_TO_APPROVE·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
Document shipment schedules for purchase orders, purchase agreements, quotations, and RFQs to be archived
-
Document shipment schedules for purchase orders, purchase agreements, quotations, and RFQs to be archived
-
APPS.PO_LINE_LOCATIONS_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_LINE_LOCATIONS_ALL·Explore PO module →
-
Document shipment schedules (for purchase orders, purchase agreements, quotations, RFQs)
-
Archived purchase order shipments
-
Document shipment schedules (for purchase orders, purchase agreements, quotations, RFQs)
-
View: POS_PO_LINES_V 12.2.2
Fetches information related to shipments for the Purchase Order. Used to fetch records for which an ASN could be created.
APPS.POS_PO_LINES_V·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·↳ HR_GENERAL·Explore POS module →
-
View: POS_PO_LINES_V 12.1.1
APPS.POS_PO_LINES_V·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·↳ HR_GENERAL·Explore PO module →
-
This view fetches the orders which are available to receive
APPS.POS_PO_EXPECTED_RECEIPTS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore POS module →
-
APPS.POS_PO_EXPECTED_RECEIPTS_V·↳ AP_TERMS·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_GENERAL·Explore PO module →
-
View: PO_LINE_LOCATIONS_XML 12.1.1
APPS.PO_LINE_LOCATIONS_XML·↳ MTL_UNITS_OF_MEASURE_TL·↳ PO_COMMUNICATION_GT·↳ PO_COMMUNICATION_PVT·Explore PO module →
-
View: PO_LINE_LOCATIONS_XML 12.2.2
APPS.PO_LINE_LOCATIONS_XML·↳ MTL_UNITS_OF_MEASURE_TL·↳ PO_COMMUNICATION_GT·↳ PO_COMMUNICATION_PVT·Explore PO module →
-
Archived purchase order shipments