Search Results expenditure_organization_code
Overview
POFV_PO_DISTRIBUTIONS is an APPS-owned database view within the Oracle E-Business Suite Purchasing (PO) module, documented under ETRM with the annotation "Retrofitted." It presents a denormalized, presentation-layer perspective on purchase order distribution records, joining the transactional distribution table PO_DISTRIBUTIONS_ALL to its parent shipment, line, header, release, requisition, project, and receiving context, along with descriptive flexfield and key flexfield references. The view exposes both the operative identifiers of the distribution (PO_DISTRIBUTION_ID, DISTRIBUTION_NUM) and human-readable descriptions such as vendor segment numbers, organization names, deliver-to persons, and code combination references.
Its principal role is to support Oracle Forms-based inquiry and reporting. The view text contains embedded bind markers — for example '_LA:PS.SHIPMENT_TYPE:PO_LOOKUP_CODES:SHIPMENTTYPE:DISPLAYED_FIELD', '_LA:PD.ACCRUE_ON_RECEIPT_FLAG:PO_LOOKUP_CODES:YES/NO:DISPLAYED_FIELD', '_KF:SQLGL:GL#:CC' — which instruct the Forms runtime to translate coded values into user-facing meanings via PO_LOOKUP_CODES and SQLGL key flexfield resolution. Consequently, the view is intended for query and display rather than as a source for high-volume ETL; consumers needing raw data should generally query PO_DISTRIBUTIONS_ALL directly.
Underlying Base Objects
The view is defined over more than two dozen documented base objects, all owned or referenced through the APPS schema. Its central driving object is PO_DISTRIBUTIONS_ALL, joined outward through a consistent chain of primary keys.
- Purchasing chain: PO_HEADERS_ALL (PH) via PO_HEADER_ID, PO_LINES_ALL (PL) via PO_LINE_ID, PO_LINE_LOCATIONS_ALL (PS) via LINE_LOCATION_ID, and PO_RELEASES_ALL (PR) via PO_RELEASE_ID supply header segment, line number, shipment number, and release number.
- Requisition chain: PO_REQUISITION_HEADERS_ALL (RH), PO_REQUISITION_LINES_ALL (RL), and PO_REQ_DISTRIBUTIONS_ALL (RD) resolve the originating requisition header segment, line, and distribution number through REQ_DISTRIBUTION_ID.
- Accounting and flexfields: GL_SETS_OF_BOOKS (SB) for set of books name and GL_CODE_COMBINATIONS for charge, budget, accrual, variance, destination charge, and destination variance accounts.
- Organization and location: HR_ALL_ORGANIZATION_UNITS and MTL_PARAMETERS resolve destination and expenditure organizations; HR_LOCATIONS resolves deliver-to location codes; PER_PEOPLE_F and HR_PERSON_NAME resolve deliver-to person names.
- Project and manufacturing: PA_PROJECTS_ALL and PA_TASKS supply project and task context; BOM_RESOURCES, WIP_ENTITIES, WIP_LINES, WIP_OPERATIONS, and WIP_OPERATION_RESOURCES supply manufacturing references; MTL_SECONDARY_INVENTORIES provides destination subinventory descriptions.
- Contracts: OKC_K_LINES_B and OKE_K_DELIVERABLES_B are joined for contract line and deliverable associations.
- Security packages: HR_GENERAL, HR_PERSON_NAME, and HR_SECURITY are referenced as database packages, typically to enforce organization and person-level security in the Forms client.
Key Columns
- PO_DISTRIBUTION_ID, DISTRIBUTION_NUM: Primary identifier and sequence number of the distribution.
- PO_HEADER_ID, SEGMENT1: Purchase order header identifier and its document number.
- PO_LINE_ID, LINE_NUM, SHIPMENT_NUM, RELEASE_NUM: Line, shipment, and release context.
- QUANTITY_ORDERED, QUANTITY_DELIVERED, QUANTITY_CANCELLED, QUANTITY_BILLED, AMOUNT_BILLED: Quantity and amount tracking per distribution.
- RATE, RATE_DATE: Currency conversion rate and its effective date.
- GL_CANCELLED_DATE, GL_CLOSED_DATE, GL_ENCUMBERED_DATE, GL_ENCUMBERED_PERIOD_NAME: Accounting lifecycle dates and encumbrance period.
- ACCRUE_ON_RECEIPT_FLAG, ACCRUED_FLAG, PREVENT_ENCUMBRANCE_FLAG, ENCUMBERED_FLAG: Encumbrance and accrual control flags.
- ENCUMBERED_AMOUNT, UNENCUMBERED_AMOUNT, UNENCUMBERED_QUANTITY: Funds-check and encumbrance balances.
- FAILED_FUNDS_LOOKUP_CODE: Funds-check return code translated via GL_LOOKUPS.
- EXPENDITURE_TYPE, EXPENDITURE_ITEM_DATE, USSGL_TRANSACTION_CODE: Expenditure classification and date.
- EXPENDITURE_ORGANIZATION_ID, EC.ORGANIZATION_CODE, EO.NAME: The expenditure organization identifier and its code and name — the column most relevant to the search term "expenditure_organization_code," which is surfaced here as the organization code derived from the expenditure organization.
- DESTINATION_ORGANIZATION_ID, DC.ORGANIZATION_CODE, DO.NAME, DESTINATION_SUBINVENTORY: Destination organization and inventory context.
- DELIVER_TO_PERSON_ID, FULL_NAME, DELIVER_TO_LOCATION_ID, LOCATION_CODE: Deliver-to party and location.
- PROJECT_ID, PJ.NAME, TASK_ID, TK.TASK_NUMBER: Project and task references.
- BOM_RESOURCE_ID, BR.RESOURCE_CODE, WIP_ENTITY_ID, WE.WIP_ENTITY_NAME, WIP_LINE_ID: Manufacturing references.
- SET_OF_BOOKS_ID, SB.NAME: Ledger identifier and name.
- CODE_COMBINATION_ID, BUDGET_ACCOUNT_ID, ACCRUAL_ACCOUNT_ID, VARIANCE_ACCOUNT_ID, DEST_CHARGE_ACCOUNT_ID, DEST_VARIANCE_ACCOUNT_ID: Key flexfield references resolved via SQLGL.
Common Use Cases and Queries
A frequent requirement is to list distributions together with the expenditure organization code, which corresponds to the organization code joined from the expenditure organization identifier. The following sample returns distribution-level detail with expenditure organization context:
- Expenditure organization reporting: SELECT distribution_num, segment1 po_number, line_num, shipment_num, ec.organization_code expenditure_organization_code, eo.name expenditure_organization, quantity_ordered, quantity_billed, amount_billed FROM apps.pofv_po_distributions WHERE expenditure_organization_id IS NOT NULL ORDER BY segment1, line_num;
- Encumbrance and funds-check analysis: SELECT segment1, distribution_num, encumbered_amount, unencumbered_amount, gl_encumbered_period_name, failed_funds_lookup_code FROM apps.pofv_po_distributions WHERE encumbered_flag = 'Y';
- Accrual versus non-accrual review: SELECT segment1, distribution_num, accrue_on_receipt_flag, accrued_flag, quantity_delivered, quantity_billed FROM apps.pofv_po_distributions WHERE accrue_on_receipt_flag = 'Y' AND accrued_flag = 'N';
- Project-charged distribution listing: SELECT segment1, line_num, distribution_num, pj.name project_name, tk.task_number, expenditure_type FROM apps.pofv_po_distributions WHERE project_id IS NOT NULL;
- Destination inventory and subinventory view: SELECT segment1, distribution_num, dc.organization_code destination_org, destination_subinventory, deliver_to_location_id FROM apps.pofv_po_distributions;
Because the view is APPS-owned and Retrofit-maintained, queries should be issued against APPS.POFV_PO_DISTRIBUTIONS and account for organization-level security where HR_SECURITY is applied. For bulk extraction or integration, the underlying PO_DISTRIBUTIONS_ALL and its joined base tables remain the preferred source.
-
View: POFV_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_DISTRIBUTIONS, object_name:POFV_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_PO_DISTRIBUTIONS ,
-
View: POFV_BKT_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_DISTRIBUTIONS, object_name:POFV_BKT_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_BKT_PO_DISTRIBUTIONS ,
-
View: POFV_STD_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_DISTRIBUTIONS, object_name:POFV_STD_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_STD_PO_DISTRIBUTIONS ,
-
View: POFV_PLAN_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_DISTRIBUTIONS, object_name:POFV_PLAN_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_PLAN_PO_DISTRIBUTIONS ,
-
View: POFV_BKT_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_BKT_PO_DISTRIBUTIONS, object_name:POFV_BKT_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_BKT_PO_DISTRIBUTIONS ,
-
View: POFV_PLAN_PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PLAN_PO_DISTRIBUTIONS, object_name:POFV_PLAN_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_PLAN_PO_DISTRIBUTIONS ,
-
View: POFV_SCHEDULED_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_SCHEDULED_DISTRIBUTIONS, object_name:POFV_SCHEDULED_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_SCHEDULED_DISTRIBUTIONS ,
-
View: POFV_SCHEDULED_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_SCHEDULED_DISTRIBUTIONS, object_name:POFV_SCHEDULED_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_SCHEDULED_DISTRIBUTIONS ,
-
View: POFV_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_PO_DISTRIBUTIONS, object_name:POFV_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_PO_DISTRIBUTIONS ,
-
View: POFV_STD_PO_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.POFV_STD_PO_DISTRIBUTIONS, object_name:POFV_STD_PO_DISTRIBUTIONS, status:VALID, product: PO - Purchasing , description: - Retrofitted , implementation_dba_data: APPS.POFV_STD_PO_DISTRIBUTIONS ,