Results for “destination_type_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.PO_VAL_DISTRIBUTIONS2 is a validation package body within the Oracle E-Business Suite Purchasing module. Its business function is to perform row-level validations on the distribution records associated with a purchasing document line, such as a purchase order, blanket agreement, or release. When a user enters or modifies a distribution — including the destination organization, destination subinventory, deliver-to location, deliver-to person, charge account, budget account, and encumbrance-related attributes — this package validates that the entered values are internally consistent and conform to the setup defined in Purchasing and Financials system parameters. It is a sibling package to PO_VAL_DISTRIBUTIONS and is invoked from the distribution validation framework coordinated by PO_VALIDATIONS.
The package is instrumented with the PO_LOG diagnostic and error-handling framework. Each validation subprogram declares a module base using po_log.get_package_base and po_log.get_subprogram_base, taking the package base from the constant c_entity_type_distribution defined in PO_VALIDATIONS. This structure allows validation messages and errors to be traced to a specific subprogram during debugging of purchasing document entry.
Key Procedures and Functions
The documented interface consists of seventeen validation subprograms, each named for the distribution attribute it validates:
- AMOUNT_ORDERED and QUANTITY_ORDERED — validate the ordered amount and quantity relative to the line and document tolerances.
- DESTINATION_ORG_ID — validates the destination inventory organization.
- DELIVER_TO_LOCATION_ID — validates the deliver-to location against HZ locations.
- DELIVER_TO_PERSON_ID — validates the deliver-to person.
- DESTINATION_TYPE_CODE — validates the destination type (for example, inventory, expense, or shop floor).
- DESTINATION_SUBINV — validates the destination subinventory against the organization's subinventory setup.
- WIP_ENTITY_ID — validates the work in process entity associated with a shop-floor destination.
- PREVENT_ENCUMBRANCE_FLAG and PARTIAL_FUNDED_FLAG — validate the encumbrance control and partial funding indicators on the distribution.
- CHARGE_ACCOUNT_ID, BUDGET_ACCOUNT_ID, and ACCOUNT_ID — validate the account code combinations used for charging and budgeting.
- PROJECT_ACCT_CONTEXT and PROJECT_INFO — validate project accounting context and project information for project-related distributions.
- TAX_RECOVERY_OVERRIDE_FLAG — validates the tax recovery override indicator.
- ACRN_VALUE_VALID — validates the ACRN (Accounting Classification Reference Number) value used for funding.
Tables Accessed
The package reads and writes the following tables through APPS synonyms:
- PO_SYSTEM_PARAMETERS and FINANCIALS_SYSTEM_PARAMETERS — retrieve purchasing and financials options that govern validation rules and defaulting.
- GL_CODE_COMBINATIONS — validates charge, budget, and account identifiers.
- HZ_LOCATIONS — validates deliver-to locations.
- MTL_SYSTEM_ITEMS, MTL_SECONDARY_INVENTORIES, and MTL_ITEM_SUB_INVENTORIES — validate item, subinventory, and item-subinventory relationships.
- PO_DISTRIBUTIONS_ALL — the primary distribution records being validated.
- PO_DOC_STYLE_HEADERS — document style information used in validation logic.
- PO_SESSION_GT and PO_VALIDATION_RESULTS_GT — global temporary tables holding session context and accumulating validation results.
- WIP_DISCRETE_JOBS, WIP_ENTITIES, and WIP_REPETITIVE_SCHEDULES — validate work-in-process entity identifiers for shop-floor destinations.
- DBMS_SQL — used for dynamic SQL execution within validation logic.
Usage Notes
PO_VAL_DISTRIBUTIONS2 is not intended to be called directly by end users or custom integrations. It is invoked by the Purchasing validation framework, typically when a user enters or updates distributions in the Purchase Orders form, or when distributions are created programmatically through purchasing APIs that route through PO_VALIDATIONS. The package is referenced by one other package, reflecting its role as a subordinate validator rather than a public API.
Because it operates within the PO_VALIDATIONS entity-type framework, any custom validation behavior should be implemented by extending the standard validation framework rather than by modifying this package. Custom code that requires distribution validation should call the higher-level PO_VALIDATIONS entry points so that the full set of package-level checks, including those in PO_VAL_DISTRIBUTIONS2, is applied consistently.
-
View: CST_XLA_WO_V 12.1.1
APPS.CST_XLA_WO_V·↳ CST_WRITE_OFFS·↳ HR_ALL_ORGANIZATION_UNITS·↳ MTL_SYSTEM_ITEMS_B_KFV·Explore BOM module →
-
Purchase order requisition lines view.
APPS.OE_PO_REQUISITION_LINES_V·↳ MTL_PARAMETERS·↳ PO_REQUISITION_LINES_ALL·↳ PO_REQ_DISTRIBUTIONS_ALL·Explore ONT module →
-
Purchase order requisition lines view.
APPS.OE_PO_REQUISITION_LINES_V·↳ MTL_PARAMETERS·↳ PO_REQUISITION_LINES_ALL·↳ PO_REQ_DISTRIBUTIONS_ALL·Explore ONT module →
-
APPS.SO_PO_REQUISITION_LINES_V·↳ MTL_PARAMETERS·↳ PO_REQUISITION_LINES·↳ PO_REQ_DISTRIBUTIONS·Explore OE module →
-
APPS.SO_PO_REQUISITION_LINES_V·↳ MTL_PARAMETERS·↳ PO_REQUISITION_LINES·↳ PO_REQ_DISTRIBUTIONS·Explore OE module →
-
Table to store summary information for related Purchasing and Payables tranactions in Accrual Reconciliation
-
View: OKE_DTS_RECEIVING_V 12.1.1
View for receiving data related to contract deliverables
APPS.OKE_DTS_RECEIVING_V·↳ FND_LOOKUP_VALUES·↳ PO_DISTRIBUTIONS_ALL·↳ PO_LINES_ALL·Explore OKE module →
-
View: CST_XLA_WO_V 12.2.2
APPS.CST_XLA_WO_V·↳ CST_WRITE_OFFS·↳ HR_ALL_ORGANIZATION_UNITS·↳ MTL_SYSTEM_ITEMS_B_KFV·Explore BOM module →
-
Shipment receipts supply
APPS.PO_SHIP_RCV_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_REQUISITION_LINES_ALL·Explore PO module →
-
View: PO_SHIP_SUPPLY_VIEW 12.1.1
Purchasing shipment supply
APPS.PO_SHIP_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
Shipment receipts supply
APPS.PO_SHIP_RCV_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_REQUISITION_LINES_ALL·Explore PO module →
-
View: PO_SHIP_SUPPLY_VIEW 12.2.2
Purchasing shipment supply
APPS.PO_SHIP_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
Receiving Value Report
APPS.RCV_RECEIVING_VALUE_VIEW·↳ MTL_SUPPLY·↳ PO_DISTRIBUTIONS·↳ PO_HEADERS·Explore PO module →
-
Receiving Value Report
APPS.RCV_RECEIVING_VALUE_VIEW·↳ MTL_SUPPLY·↳ PO_DISTRIBUTIONS·↳ PO_HEADERS·Explore PO module →
-
APPS.JAI_RCV_RECEIVE_LINES_V·↳ JAI_RCV_LINES·↳ RCV_SHIPMENT_HEADERS·↳ RCV_SHIPMENT_LINES·Explore JA module →
-
View: PO_RCV_SUPPLY_VIEW 12.2.2
Receiving supply
APPS.PO_RCV_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
View: MRP_PO_SUPPLY_VIEW 12.2.2
Purchasing supply view
APPS.MRP_PO_SUPPLY_VIEW·↳ AP_SUPPLIER_SITES_ALL·↳ FND_PROFILE·↳ MRP_SYSTEM_ITEMS·Explore MRP module →
-
View: PO_RCV_SUPPLY_VIEW 12.1.1
Receiving supply
APPS.PO_RCV_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
View: CST_XLA_AWO_HEADERS_V 12.2.2
APPS.CST_XLA_AWO_HEADERS_V·↳ CST_WRITE_OFFS·↳ FND_CURRENCIES·↳ GL_LEDGERS·Explore BOM module →
-
View: RCV_ENTER_RECEIPTS_V 12.2.2
10SC ONLY - Retrofitted
APPS.RCV_ENTER_RECEIPTS_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ OE_SYS_PARAMETERS·Explore PO module →
-
View: PO_REQ_SUPPLY_VIEW 12.2.2
Requisition supply
APPS.PO_REQ_SUPPLY_VIEW·↳ AP_SUPPLIERS·↳ AP_SUPPLIER_SITES_ALL·↳ MTL_SUPPLY·Explore PO module →
-
Table to store summary information for related Purchasing and Payables tranactions in Accrual Reconciliation
-
View: PO_REQ_SUPPLY_VIEW 12.1.1
Requisition supply
APPS.PO_REQ_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_REQUISITION_HEADERS_ALL·Explore PO module →
-
View: INL_ENTER_RECEIPTS_V 12.1.1
A supplementary view used to simplify UI coding (Cloned from RCV_ENTER_RECEIPTS_V).
APPS.INL_ENTER_RECEIPTS_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ INL_ENTER_RECEIPTS_PO_V·Explore INL module →
-
View: JAI_RCV_CLAIM_MODVAT_V 12.2.2
APPS.JAI_RCV_CLAIM_MODVAT_V·↳ HR_GENERAL·↳ HR_LOCATIONS·↳ JAI_CMN_INVENTORY_ORGS·Explore JA module →
-
Table Holds Write-Off Header Information
-
Intransit value information : SINGLE-ORG view
APPS.CST_INTRANSIT_VALUE_VIEW·↳ MTL_INTERORG_PARAMETERS·↳ MTL_PARAMETERS·↳ MTL_SUPPLY·Explore BOM module →
-
View: PO_PO_SUPPLY_VIEW 12.2.2
Purchasing supply
APPS.PO_PO_SUPPLY_VIEW·↳ MTL_SUPPLY·↳ MTL_UNITS_OF_MEASURE·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.RCV_ENTER_RECEIPTS_SUPPLIER_V·↳ PO_CLM_INTG_GRP·↳ RCV_ENTER_RECEIPTS_ASN_V·↳ RCV_ENTER_RECEIPTS_PO_V·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.RCV_ENTER_RECEIPTS_RMA_V·↳ OE_PO_ENTER_RECEIPTS_V·↳ OE_SYS_PARAMETERS·Explore PO module →
-
Stores incoming supply information
-
View: POR_RCV_ALL_ITEMS_V1 12.2.2
View for all items that can be received
APPS.POR_RCV_ALL_ITEMS_V1·↳ FND_GLOBAL·↳ MTL_UNITS_OF_MEASURE·↳ PER_ALL_PEOPLE_F·Explore ICX module →
-
Summary information about items in receiving/inspection
-
View: IGI_CEC_DIST_SUMMARY 12.1.1
Based on IGI_CEC_DIST_SUMMARY
APPS.IGI_CEC_DIST_SUMMARY·↳ IGI_CEC_DIST_SUMMARY_ALL·Explore IGI module →
-
View: CST_XLA_AWO_HEADERS_V 12.1.1
APPS.CST_XLA_AWO_HEADERS_V·↳ CST_WRITE_OFFS·↳ FND_CURRENCIES·↳ GL_LEDGERS·Explore BOM module →
-
APPS.POR_RCV_INTERNAL_ITEMS_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ MTL_UNITS_OF_MEASURE·↳ OE_ORDER_HEADERS_ALL·Explore ICX module →
-
Summary information about items in receiving/inspection
-
View: IGI_CEC_DIST_SUMMARY 12.2.2
Based on IGI_CEC_DIST_SUMMARY
APPS.IGI_CEC_DIST_SUMMARY·↳ IGI_CEC_DIST_SUMMARY_ALL·Explore IGI module →
-
View: POR_RCV_ALL_ITEMS_V1 12.1.1
View for all items that can be received
APPS.POR_RCV_ALL_ITEMS_V1·↳ FND_GLOBAL·↳ MTL_UNITS_OF_MEASURE·↳ PER_ALL_PEOPLE_F·Explore ICX module →
-
View: MRP_PO_SUPPLY_VIEW 12.1.1
Purchasing supply view
APPS.MRP_PO_SUPPLY_VIEW·↳ AP_SUPPLIER_SITES_ALL·↳ FND_PROFILE·↳ MRP_SYSTEM_ITEMS·Explore MRP module →
-
Table Holds Write-Off Header Information
-
View: PO_DISTRIBUTIONS_AP2_V 12.1.1
APPS.PO_DISTRIBUTIONS_AP2_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_GENERAL·↳ HR_ORG_UNITS_NO_JOIN·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.RCV_ENTER_RECEIPTS_INTERNAL_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ RCV_ENTER_RECEIPTS_INT_REQ_V·Explore PO module →
-
10SC ONLY - Retrofitted
APPS.RCV_ENTER_RECEIPTS_INTERNAL_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ RCV_ENTER_RECEIPTS_INT_REQ_V·Explore PO module →