Results for “prevent_encumbrance_flag”
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: PO_REQ_DISTRIBUTIONS_V 12.2.2
10SC ONLY - Retrofitted
APPS.PO_REQ_DISTRIBUTIONS_V·↳ PO_REQ_DISTRIBUTIONS·Explore PO module →
-
View: PO_REQ_DISTRIBUTIONS_V 12.1.1
10SC ONLY - Retrofitted
APPS.PO_REQ_DISTRIBUTIONS_V·↳ PO_REQ_DISTRIBUTIONS·Explore PO module →
-
Holds details of deleted charge lines
-
View: POR_DISTRIBUTIONS_V 12.2.2
Distribution View
APPS.POR_DISTRIBUTIONS_V·↳ PO_REQUISITION_LINES·↳ PO_REQ_DISTRIBUTIONS·Explore ICX module →
-
Holds details of deleted charge lines
-
Holds details of deleted charge lines
-
Holds details of deleted charge lines
-
View: PO_DISTRIBUTIONS_V 12.1.1
10SC ONLY
APPS.PO_DISTRIBUTIONS_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ PO_DISTRIBUTIONS·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
APPS.IGI_ITR_CHARGE_LINES_SS_V·↳ FND_USER·↳ IGI_ITR_CHARGE_CENTER·↳ IGI_ITR_CHARGE_HEADERS·Explore IGI module →
-
Holds details of charge lines
-
Holds details of charge lines
-
Holds details of charge lines
-
Holds details of charge lines
-
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 →
-
Distribution View
APPS.POR_DISTRIBUTIONS_ALL_V·↳ PO_REQUISITION_LINES_ALL·↳ PO_REQ_DISTRIBUTIONS_ALL·Explore ICX module →
-
View: PO_DISTRIBUTIONS_AP2_V 12.2.2
APPS.PO_DISTRIBUTIONS_AP2_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_GENERAL·↳ HR_ORG_UNITS_NO_JOIN·Explore PO module →
-
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 →
-
View: POR_DISTRIBUTIONS_V 12.1.1
Distribution View
APPS.POR_DISTRIBUTIONS_V·↳ PO_REQUISITION_LINES·↳ PO_REQ_DISTRIBUTIONS·Explore ICX module →
-
- Retrofitted
APPS.AP_PO_DISTRIBUTIONS_AP2_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_GENERAL·↳ HR_ORG_UNITS_NO_JOIN·Explore AP module →
-
- Retrofitted
APPS.AP_PO_DISTRIBUTIONS_AP2_V·↳ FND_PROFILE·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ HR_GENERAL·Explore AP module →
-
APPS.AP_MATCH_CORRECTION_DISTS_V·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ AP_INVOICE_LINES_ALL·↳ FND_PROFILE·Explore AP module →
-
APPS.IGI_ITR_CHARGE_LINES_SS_V·↳ FND_USER·↳ IGI_ITR_CHARGE_CENTER·↳ IGI_ITR_CHARGE_HEADERS·Explore IGI module →
-
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: ICX_PO_REQ_DIST_V 12.2.2
Requisition Distribution Detail View
APPS.ICX_PO_REQ_DIST_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ ICX_GET·Explore ICX module →
-
Purchase order distributions to be archived
-
Distribution View
APPS.POR_DISTRIBUTIONS_ALL_V·↳ PO_REQUISITION_LINES_ALL·↳ PO_REQ_DISTRIBUTIONS_ALL·Explore ICX module →
-
For Internal Use Only: This table is global temporary table based on po_distributions_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
APPS.PO_DISTRIBUTION_ARCHIVE_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ PER_ALL_PEOPLE_F·↳ PO_COMMUNICATION_GT·Explore PO module →
-
- Retrofitted
APPS.PO_REQ_DISTRIBUTIONS_INQ_V·↳ FND_GLOBAL·↳ FND_PROFILE·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
APPS.AP_MATCH_CORRECTION_DISTS_V·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ AP_INVOICE_LINES_ALL·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore AP module →
-
View: PO_DISTRIBUTIONS_V 12.2.2
10SC ONLY
APPS.PO_DISTRIBUTIONS_V·↳ HR_ALL_ORGANIZATION_UNITS_TL·↳ PO_DISTRIBUTIONS·↳ PO_DISTRIBUTIONS_ALL·Explore PO module →
-
Requisition Distributions View
APPS.ICX_PO_REQ_LINES_DIST_V·↳ FND_CURRENCY·↳ FND_GLOBAL·↳ GL_CODE_COMBINATIONS_KFV·Explore ICX module →
-
For Internal Use Only: This table is global temporary table based on po_distributions_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
View: PO_DISTRIBUTIONS_TRX_V 12.2.2
Requisition Distribution View.
APPS.PO_DISTRIBUTIONS_TRX_V·↳ PO_CLM_INTG_GRP·↳ PO_DISTRIBUTIONS·↳ PO_LINES_TRX_V·Explore PO module →
-
Archived distributions
-
Requisition distributions
-
Contains details of PO_DISTRIBUTIONS
-
Contains details of PO_DISTRIBUTIONS
-
Purchase order distributions draft
-
View: PO_DISTRIBUTION_XML 12.1.1
APPS.PO_DISTRIBUTION_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ PER_ALL_PEOPLE_F·↳ PO_COMMUNICATION_GT·Explore PO module →
-
View: ICX_PO_REQ_DIST_V 12.1.1
Requisition Distribution Detail View
APPS.ICX_PO_REQ_DIST_V·↳ HR_GENERAL·↳ HR_SECURITY·↳ ICX_GET·Explore ICX module →
-
- Retrofitted
APPS.PO_REQ_DISTRIBUTIONS_INQ_V·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·↳ HR_ALL_ORGANIZATION_UNITS_TL·Explore PO module →
-
Requisition distributions
-
APPS.PO_DISTRIBUTION_ARCHIVE_XML·↳ GL_CODE_COMBINATIONS_KFV·↳ HR_API·↳ HR_LOOKUPS·Explore PO module →
-
For Internal Use Only