Search Results request_date_atp_quantity
Overview
The APPS.MRP_PF_ATP_V view is a Master Scheduling/MRP (MRP) module database object used to support Available-to-Promise (ATP) processing and inquiry within Oracle E-Business Suite 12.1.1 and 12.2.2. It is a view rather than a standalone table, and its record definition is derived from the MTL_DEMAND_INTERFACE table, which acts as the staging area for demand and ATP-related request records. The view exposes ATP-relevant attributes—such as requested quantities, ATP dates, ATP rules, and grouping information—so that ATP checks can be evaluated against staged demand records without directly querying the interface table.
Because the view is owned by the APPS schema and is reported as VALID in the ETRM metadata, it is available for reporting and integration queries within the standard EBS security model. Its primary role is to present a consolidated, item-aware ATP picture, allowing external programs, concurrent requests, and custom reports to retrieve ATP information keyed by organization, item, and ATP group. The view text applies DECODE logic against MTL_SYSTEM_ITEMS to substitute the ATP item, ATP rule, and related values when the item is a product-family style configuration (BOM_ITEM_TYPE = 5) with the ATP flag enabled.
Underlying Base Objects
The view is defined over three referenced base objects, all accessed through APPS synonyms:
- MTL_DEMAND_INTERFACE (SYNONYM) — The driving table, aliased D. It supplies the bulk of the view's columns, including ROWID, ATP_GROUP_ID, ORGANIZATION_ID, INVENTORY_ITEM_ID, REQUEST_DATE_ATP_QUANTITY, EARLIEST_ATP_DATE, REQUEST_ATP_DATE, GROUP_AVAILABLE_DATE, ATP_LEAD_TIME, and the demand source attributes.
- MTL_SYSTEM_ITEMS (SYNONYM) — Referenced twice, aliased I1 and I2. I1 joins on INVENTORY_ITEM_ID and ORGANIZATION_ID to validate the item, while I2 resolves the ATP-level item and ATP rule based on the product family item relationship. DECODE expressions on BOM_ITEM_TYPE and ATP_FLAG determine whether the original interface item or the parent ATP item is returned.
- MTL_PARAMETERS (SYNONYM) — Aliased MP, joined to supply the DEFAULT_ATP_RULE_ID used as a fallback when a specific ATP_RULE_ID is not present on the item setup.
The join conditions tie the interface demand row to a valid inventory item in the same organization, then resolve the applicable ATP item and rule. This design ensures that ATP evaluation respects both item-level and organization-level ATP configuration.
Key Columns
- REQUEST_DATE_ATP_QUANTITY — The requested ATP quantity on the request date; directly relevant to the user's search term and central to ATP availability checks.
- REQUEST_ATP_DATE / REQUEST_ATP_DATE_QUANTITY — The date on which ATP is being requested and the associated quantity.
- EARLIEST_ATP_DATE / EARLIEST_ATP_DATE_QUANTITY — The earliest date ATP is available and the quantity available at that date.
- GROUP_AVAILABLE_DATE — The date on which the accumulated ATP group becomes available.
- ATP_GROUP_ID — Identifies the ATP grouping used to consolidate checks.
- ATP_RULE_ID — The ATP rule applied after resolution from the item or the default parameter.
- ATP_CHECK / GROUP_ATP_CHECK — Indicators controlling whether ATP checking is performed individually or at the group level.
- ACCUMULATION_WINDOW / ATP_LEAD_TIME / INFINITE_TIME_FENCE_DATE — Scheduling parameters affecting ATP calculation windows and lead time.
- ORGANIZATION_ID / INVENTORY_ITEM_ID — The organization and resolved item keying the ATP record.
- LINE_ITEM_QUANTITY / LINE_ITEM_UOM / PRIMARY_UOM_QUANTITY — Quantities and units of measure for the demand line.
- DEMAND_CLASS / DEMAND_SOURCE_TYPE / DEMAND_SOURCE_HEADER_ID / DEMAND_SOURCE_LINE / DEMAND_SOURCE_NAME — Identification of the originating demand source.
- SESSION_ID / SCHEDULE_GROUP_ID / USER_LINE_NUM — Session and grouping identifiers used to track processing runs.
- ERROR_CODE / ERR_EXPLANATION — Error feedback from ATP or demand processing.
Common Use Cases and Queries
Typical uses include diagnosing ATP failures, reporting requested versus available ATP quantities, and validating staged demand interface records prior to processing. A representative query retrieving requested ATP quantity by organization and item:
- SELECT organization_id, inventory_item_id, request_date_atp_quantity, request_atp_date, earliest_atp_date, atp_rule_id FROM apps.mrp_pf_atp_v WHERE organization_id = :org_id AND inventory_item_id = :item_id;
- SELECT atp_group_id, SUM(request_date_atp_quantity) FROM apps.mrp_pf_atp_v GROUP BY atp_group_id;
- SELECT * FROM apps.mrp_pf_atp_v WHERE error_code IS NOT NULL;
These queries support ATP review, error triage, and exception reporting against the ATP-enabled demand staged in MTL_DEMAND_INTERFACE.
-
View: MRP_PF_ATP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_PF_ATP_V, object_name:MRP_PF_ATP_V, status:VALID, product: MRP - Master Scheduling/MRP , description: This view is used for ATP and derived from MTL_DEMAND_INTERFACE , implementation_dba_data: APPS.MRP_PF_ATP_V ,
-
View: MRP_PF_ATP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_PF_ATP_V, object_name:MRP_PF_ATP_V, status:VALID, product: MRP - Master Scheduling/MRP , description: This view is used for ATP and derived from MTL_DEMAND_INTERFACE , implementation_dba_data: APPS.MRP_PF_ATP_V ,
-
View: MRP_ATP_BASE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_BASE_V, object_name:MRP_ATP_BASE_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP/CTP View , implementation_dba_data: APPS.MRP_ATP_BASE_V ,
-
View: MRP_ATP_BASE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_BASE_V, object_name:MRP_ATP_BASE_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP/CTP View , implementation_dba_data: APPS.MRP_ATP_BASE_V ,
-
View: MRP_ATP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_V, object_name:MRP_ATP_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP/CTP view , implementation_dba_data: APPS.MRP_ATP_V ,
-
View: MRP_ATP_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ATP_V, object_name:MRP_ATP_V, status:VALID, product: MRP - Master Scheduling/MRP , description: ATP/CTP view , implementation_dba_data: APPS.MRP_ATP_V ,