Results for “origination_type”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
MSC_DEMAND_PEGGING_V is an APPS-owned database view within the Oracle Advanced Supply Chain Planning (MSC) module. It exposes demand pegging relationships generated by the MSC planning engine, allowing planners and reporting tools to trace how independent and dependent demand is satisfied by supplies across the supply chain plan. In Oracle EBS 12.1.1 and 12.2.2 the object remains a read-only view over the planning staging tables MSC_DEMANDS and MSC_FULL_PEGGING; no business logic is duplicated in PL/SQL, which makes the view a stable integration point for custom reports, BI Publisher datasets, OBIEE/OTBI extracts, and third-party planning dashboards.
The view is best understood as a flattened, self-joined projection of the pegging hierarchy. It joins the pegging table to itself (aliases PEG1 and PEG2) so that each row represents an allocated quantity flowing from a supply-side pegging record (PEG1) to a demand-side pegging record (PEG2), then decorates that relationship with attributes from the two MSC_DEMANDS rows (D1 for the parent demand class, D2 for the demand being pegged). The net effect is a demand-to-demand allocation map keyed by plan, item, organization, and source instance.
Underlying Base Objects
The documented base objects referenced by the view are the synonyms MSC_DEMANDS and MSC_FULL_PEGGING, both resolving to tables in the APPS schema:
- MSC_DEMANDS — stores demand records for a plan, including demand class, demand date, order number, sales order line, and the ORIGINATION_TYPE discriminator that classifies where the demand came from.
- MSC_FULL_PEGGING — stores the pegging relationships, including PLAN_ID, PEGGING_ID, DEMAND_ID, END_PEGGING_ID, SR_INSTANCE_ID, and ALLOCATED_QUANTITY.
The join predicates require matching PLAN_ID and SR_INSTANCE_ID across both pegging aliases and both demand aliases, and they link PEG2.END_PEGGING_ID to PEG1.PEGGING_ID to walk the pegging chain. A significant filter is applied to the second demand alias: D2.ORIGINATION_TYPE NOT IN (5,7,8,9,11,15,22,28,29,31). This suppresses demand records originating from supply-side or internal planning constructs, so the view returns only true end-demand pegging.
Key Columns
- PLAN_ID — identifies the MSC plan; every query should filter on it.
- INVENTORY_ITEM_ID and ORGANIZATION_ID — the planned item and its organization context.
- SR_INSTANCE_ID — source instance, used to distinguish data from multiple source systems.
- DEMAND_CLASS — derived via
NVL(D1.DEMAND_CLASS,'-1'); the parent demand's class, defaulting to -1 when null. - DEMAND_DATE — taken from
D2.USING_ASSEMBLY_DEMAND_DATE, the date the demand is required. - ALLOCATED_QUANTITY — the quantity of the supply pegged to the demand.
- DEMAND_ID — the pegged demand's identifier, joinable back to MSC_DEMANDS.
- ORIGINATION_TYPE — the classified source of the pegged demand (e.g., sales order, forecast, internal order). Because the view filters specific codes, only certain origin types survive.
- ORDER_NUMBER and SALES_ORDER_LINE_ID — the originating order reference and, for sales order demand, the line identifier.
Common Use Cases and Queries
Typical uses include pegging analysis for a given item/plan, tracing supply to top-level demand, and building reports that break allocated quantity down by DEMAND_CLASS or ORIGINATION_TYPE.
SELECT demand_id, order_number, origination_type,
demand_date, allocated_quantity, demand_class
FROM apps.msc_demand_pegging_v
WHERE plan_id = :p_plan_id
AND inventory_item_id = :p_item_id
AND organization_id = :p_org_id
ORDER BY demand_date;
Aggregating allocated quantity by ORIGINATION_TYPE is a common way to reconcile how much planned supply is committed against each demand source, while joining DEMAND_ID back to MSC_DEMANDS enriches the output with customer and order detail. Because the view filters the disallowed origination types internally, no additional exclusion logic is required in downstream queries.
-
ORIGINATION_TYPE
-
ORIGINATION_TYPE
-
View: MSC_DEMAND_PEGGING_V 12.1.1
Demand pegging
APPS.MSC_DEMAND_PEGGING_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·Explore MSC module →
-
Table: GMP_DEMANDS_API 12.2.2
API table for Sales and Forecast Demands
-
View: MSC_DEMAND_PEGGING_V 12.2.2
Demand pegging
APPS.MSC_DEMAND_PEGGING_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·Explore MSC module →
-
View: MRP_FLP_END_DEMAND2_V 12.2.2
View of demand information
APPS.MRP_FLP_END_DEMAND2_V·↳ MFG_LOOKUPS·↳ MRP_GET_PROJECT·↳ MRP_GROSS_REQUIREMENTS·Explore MRP module →
-
APPS.MRPBV_BILL_OF_RESOURCE_REQS·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·↳ CRP_RESOURCE_HOURS·Explore MRP module →
-
APPS.MSC_CONSTRAINED_FORECAST_V·↳ MSC_DEMANDS·↳ MSC_PLANS·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
View: MRPBV_MPS_ENTRIES 12.1.1
- Retrofitted
APPS.MRPBV_MPS_ENTRIES·↳ MFG_LOOKUPS·↳ MRP_SCHEDULE_DATES·↳ MRP_SCHEDULE_DESIGNATORS·Explore MRP module →
-
The staging table used by the collection program to valid and process data for table MSC_BOR_REQUIREMENTS.
-
View: MRPFV_MPS_ENTRIES 12.2.2
- Retrofitted
APPS.MRPFV_MPS_ENTRIES·↳ HR_ALL_ORGANIZATION_UNITS·↳ MFG_LOOKUPS·↳ MRP_GET_PROJECT·Explore MRP module →
-
Forecast Dates View
APPS.ICX_MRP_FORECAST_DATES_V·↳ MFG_LOOKUPS·↳ MRP_FORECAST_DATES·↳ MTL_ITEM_FLEXFIELDS·Explore ICX module →
-
Table: ISC_DBI_DEMANDS_F 12.1.1
-
APPS.MSC_CONSTRAINED_FORECAST_V·↳ MSC_DEMANDS·↳ MSC_PLANS·↳ MSC_SYSTEM_ITEMS·Explore MSC module →
-
View: MSC_FLP_END_DEMAND2_V 12.2.2
APPS.MSC_FLP_END_DEMAND2_V·↳ MSC_DEMANDS·↳ MSC_GET_NAME·↳ MSC_ITEMS·Explore MSC module →
-
APPS.MSC_FLP_SUPPLY_DEMAND_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·↳ MSC_GET_NAME·Explore MSC module →
-
View: MRPBV_MDS_ENTRIES 12.1.1
- Retrofitted
APPS.MRPBV_MDS_ENTRIES·↳ INV_DECIMALS_PUB·↳ INV_SALESORDER·↳ MFG_LOOKUPS·Explore MRP module →
-
View: MTL_GROSS_REQ_COST_V 12.1.1
- Retrofitted
APPS.MTL_GROSS_REQ_COST_V·↳ CST_CG_ITEM_COSTS_VIEW·↳ MRP_GROSS_REQUIREMENTS·↳ MRP_PROJECT_PARAMETERS·Explore INV module →
-
APPS.MRPFV_BILL_OF_RESOURCE_REQS·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·↳ CRP_RESOURCE_HOURS·Explore MRP module →
-
Table: GMP_DEMANDS_API 12.1.1
API table for Sales and Forecast Demands
-
Table: MSC_ALLOC_DEMANDS 12.1.1
-
Table: MSC_ALLOC_DEMANDS 12.2.2
-
This table stores the set of resources required in an organization for an item.
-
This table stores the set of resources required in an organization for an item.
-
View: MSC_FORECAST_UPDATES_V 12.1.1
this view picks up all the forecast updates
APPS.MSC_FORECAST_UPDATES_V·↳ MSC_FORECAST_UPDATES·↳ MSC_GET_NAME·Explore MSC module →
-
View: CRP_RESOURCE_HOURS_V 12.1.1
View of required resource hours to build an assembly
APPS.CRP_RESOURCE_HOURS_V·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·↳ CRP_RESOURCE_HOURS·Explore CRP module →
-
View: MRP_FLP_END_DEMAND2_V 12.1.1
View of demand information
APPS.MRP_FLP_END_DEMAND2_V·↳ MFG_LOOKUPS·↳ MRP_GET_PROJECT·↳ MRP_GROSS_REQUIREMENTS·Explore MRP module →
-
APPS.MSC_BILL_OF_RESOURCES_V·↳ MFG_LOOKUPS·↳ MSC_BILL_OF_RESOURCES·↳ MSC_BOR_REQUIREMENTS·Explore MSC module →
-
Table: MSC_PART_DEMANDS 12.1.1
-
This is the XML Lot API Interface table. This table stores data about individual xml lot api requests.
-
- Retrofitted
APPS.MTL_FORECAST_DATES_COST_V·↳ CST_CG_ITEM_COSTS_VIEW·↳ MRP_FORECAST_DATES·↳ MRP_PROJECT_PARAMETERS·Explore INV module →
-
View: MTL_GROSS_REQ_COST_V 12.2.2
- Retrofitted
APPS.MTL_GROSS_REQ_COST_V·↳ CST_CG_ITEM_COSTS_VIEW·↳ MRP_GROSS_REQUIREMENTS·↳ MRP_PROJECT_PARAMETERS·Explore INV module →
-
Child table to MSC_DEMANDS storing pre-allocated demands
-
Child table to MSC_DEMANDS storing pre-allocated demands
-
View: MRP_FORECAST_DATES_V 12.2.2
Forecast entries view
APPS.MRP_FORECAST_DATES_V·↳ MFG_LOOKUPS·↳ MRP_FORECAST_DATES·↳ MRP_GET_PROJECT·Explore MRP module →
-
View: MRPBV_MDS_ENTRIES 12.2.2
- Retrofitted
APPS.MRPBV_MDS_ENTRIES·↳ INV_DECIMALS_PUB·↳ INV_SALESORDER·↳ MFG_LOOKUPS·Explore MRP module →
-
This is the lot master table. This table stores data about individual lots for an item.
-
APPS.MRPBV_BILL_OF_RESOURCE_REQS·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·↳ CRP_RESOURCE_HOURS·Explore MRP module →
-
APPS.MSC_FLP_SUPPLY_DEMAND_ATP_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·↳ MSC_GET_NAME·Explore MSC module →
-
APPS.MSC_FLP_SUPPLY_DEMAND_ATP_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·↳ MSC_GET_NAME·Explore MSC module →
-
View: MSC_FORECAST_UPDATES_V 12.2.2
this view picks up all the forecast updates
APPS.MSC_FORECAST_UPDATES_V·↳ MSC_FORECAST_UPDATES·↳ MSC_GET_NAME·Explore MSC module →
-
View: MSC_FLP_END_DEMAND2_V 12.1.1
APPS.MSC_FLP_END_DEMAND2_V·↳ MSC_DEMANDS·↳ MSC_GET_NAME·↳ MSC_ITEMS·Explore MSC module →
-
View: MRPBV_MPS_ENTRIES 12.2.2
- Retrofitted
APPS.MRPBV_MPS_ENTRIES·↳ MFG_LOOKUPS·↳ MRP_SCHEDULE_DATES·↳ MRP_SCHEDULE_DESIGNATORS·Explore MRP module →
-
APPS.MSC_FLP_SUPPLY_DEMAND_V·↳ MSC_DEMANDS·↳ MSC_FULL_PEGGING·↳ MSC_GET_NAME·Explore MSC module →
-
10SC ONLY
APPS.MTL_TRANSACTION_LOT_VAL_V·↳ MTL_LOT_NUMBERS·↳ MTL_TRANSACTION_LOT_NUMBERS·Explore INV module →
-
APPS.MSC_BILL_OF_RESOURCES_V·↳ MFG_LOOKUPS·↳ MSC_BILL_OF_RESOURCES·↳ MSC_BOR_REQUIREMENTS·Explore MSC module →
-
View: MRPFV_MDS_ENTRIES 12.2.2
- Retrofitted
APPS.MRPFV_MDS_ENTRIES·↳ HR_ALL_ORGANIZATION_UNITS·↳ INV_DECIMALS_PUB·↳ INV_SALESORDER·Explore MRP module →
-
View: MRPFV_MDS_ENTRIES 12.1.1
- Retrofitted
APPS.MRPFV_MDS_ENTRIES·↳ HR_ALL_ORGANIZATION_UNITS·↳ INV_DECIMALS_PUB·↳ INV_SALESORDER·Explore MRP module →
-
Forecast entries