Search Results mrp_sr_assignments
Overview
The MRP_SR_ASSIGNMENTS table is a core data repository within the Oracle E-Business Suite (EBS) Master Scheduling/MRP module. It serves as the definitive store for sourcing assignment rules, which are critical for the planning engine's supply allocation logic. These rules define how the system determines the appropriate source—such as a specific supplier, a manufacturing organization, or a transfer-from organization—to fulfill a planned order, purchase requisition, or internal requisition. The table's role is to provide a flexible framework for enforcing business policies on sourcing based on combinations of item, category, customer, and ship-to location, thereby directly influencing material flow and procurement strategies within the MRP and Master Scheduling processes.
Key Information Stored
The table stores the rule definitions and their qualifying criteria. The primary identifier is the ASSIGNMENT_ID. Each record is grouped under an ASSIGNMENT_SET_ID, linking to a named set of sourcing rules. Key determinant columns include INVENTORY_ITEM_ID and ORGANIZATION_ID for item-specific rules, and CATEGORY_ID and CATEGORY_SET_ID for category-based assignments. To enable customer-centric sourcing, it holds CUSTOMER_ID and SHIP_TO_SITE_ID. The core sourcing directives are stored in columns such as SOURCE_ORGANIZATION_ID (for transfers), VENDOR_ID (for purchases), and SOURCE_TYPE (defining the nature of the source). Additional attributes like ASSIGNMENT_TYPE, RANK, and EFFECTIVE_DATE columns manage rule precedence and validity periods.
Common Use Cases and Queries
A primary use case is analyzing and troubleshooting the sourcing recommendations generated by an MRP plan run. Planners often query this table to verify which active rule is being applied for a specific item or customer. Common SQL patterns include listing all assignments within a set, or finding the effective rule for a given combination of parameters at a specific point in time. For reporting, joins with item (MTL_SYSTEM_ITEMS_B), customer (RA_CUSTOMERS), and site (RA_SITE_USES_ALL) tables are standard to translate IDs into meaningful names. Administrators may query the table to audit or clean up obsolete rules before migrating assignment sets to a production environment.
- Listing all sourcing rules for a specific assignment set:
SELECT * FROM MRP_SR_ASSIGNMENTS WHERE ASSIGNMENT_SET_ID = &SET_ID ORDER BY RANK; - Identifying the source for a specific item-organization-customer combination:
SELECT SOURCE_TYPE, VENDOR_ID, SOURCE_ORGANIZATION_ID FROM MRP_SR_ASSIGNMENTS WHERE INVENTORY_ITEM_ID = &ITEM_ID AND ORGANIZATION_ID = &ORG_ID AND CUSTOMER_ID = &CUST_ID AND SYSDATE BETWEEN EFFECTIVE_DATE_FROM AND NVL(EFFECTIVE_DATE_TO, SYSDATE) AND ASSIGNMENT_SET_ID = &SET_ID;
Related Objects
The MRP_SR_ASSIGNMENTS table maintains integral relationships with several fundamental EBS tables, as documented by its foreign key constraints. It is a child of the MRP_ASSIGNMENT_SETS table via ASSIGNMENT_SET_ID, which groups individual rules. For item and category data, it references MTL_ITEM_CATEGORIES (on INVENTORY_ITEM_ID, ORGANIZATION_ID, CATEGORY_SET_ID) and MTL_CATEGORIES_B (on CATEGORY_ID). The ORGANIZATION_ID column references MTL_PARAMETERS to validate the inventory organization. For customer-centric rules, it links to RA_CUSTOMERS (on CUSTOMER_ID) and RA_SITE_USES_ALL (on SHIP_TO_SITE_ID) to define the customer ship-to location. These relationships ensure data integrity and enable comprehensive joins for operational and analytical queries.
-
Table: MRP_SR_ASSIGNMENTS
12.1.1
owner:MRP, object_type:TABLE, fnd_design_data:MRP.MRP_SR_ASSIGNMENTS, object_name:MRP_SR_ASSIGNMENTS, status:VALID, product: MRP - Master Scheduling/MRP , description: Sourcing assignments , implementation_dba_data: MRP.MRP_SR_ASSIGNMENTS ,
-
Table: MRP_SR_ASSIGNMENTS
12.2.2
owner:MRP, object_type:TABLE, fnd_design_data:MRP.MRP_SR_ASSIGNMENTS, object_name:MRP_SR_ASSIGNMENTS, status:VALID, product: MRP - Master Scheduling/MRP , description: Sourcing assignments , implementation_dba_data: MRP.MRP_SR_ASSIGNMENTS ,
-
APPS.CTO_CHANGE_ORDER_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_MSUTIL_PUB dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_UPDATE_BOM_RTG_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.PO_ASL_UPGRADE_SV dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.MRP_ASSIGNMENT_SET_HANDLERS dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.MRP_ASSIGNMENT_HANDLERS dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.MRP_ASSIGNMENT_PVT dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.PO_SOURCING_RULES_SV dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.MRP_VALIDATE_SOURCING_RULE dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_AUTO_PROCURE_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_CHANGE_ORDER_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_AUTO_PROCURE_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.MRP_ASSIGNMENT_HANDLERS dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.MRPP_CMERGE_FCST dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.PO_SOURCING_RULES_SV dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_UPDATE_BOM_RTG_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_UTILITY_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.MRPP_CMERGE_FCST dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.PO_ASL_UPGRADE_SV dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_MSUTIL_PUB dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_UPDATE_CONFIGS_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.POR_AUTOSOURCE_UTIL_PKG dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_UTILITY_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.MRP_ASSIGNMENT_PVT dependencies on MRP_SR_ASSIGNMENTS
12.1.1
-
APPS.MRP_ASSIGNMENT_SET_HANDLERS dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_UPDATE_CONFIGS_PK dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.MRP_VALIDATE_SOURCING_RULE dependencies on MRP_SR_ASSIGNMENTS
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_SOURCE_ORG
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on PO_VENDOR_SITES_ALL
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on PO_VENDOR_SITES_ALL
12.1.1
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_RECEIPT_ORG
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_SOURCE_ORG
12.1.1
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SR_RECEIPT_ORG
12.1.1
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SOURCING_RULES
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on MRP_SOURCING_RULES
12.1.1
-
VIEW: APPS.MRP_SCATP_ITEM_SR_LEVELS_V
12.2.2
-
VIEW: APPS.MRP_SR_ASSIGNMENTS_DFV
12.2.2
-
VIEW: APPS.MRP_SR_ASSIGNMENTS_DFV
12.1.1
-
VIEW: APPS.MRP_SCATP_ITEM_SR_LEVELS_V
12.1.1
-
VIEW: APPS.MRPBV_SR_BOD_ASSIGNMENTS
12.1.1
-
VIEW: APPS.MRPBV_SR_BOD_ASSIGNMENTS
12.2.2
-
APPS.CTO_OSS_SOURCE_PK dependencies on AP_SUPPLIER_SITES_ALL
12.2.2
-
SYNONYM: APPS.MRP_SR_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MRP_SR_ASSIGNMENTS, status:VALID,
-
APPS.MRP_ASSIGNMENT_HANDLERS SQL Statements
12.1.1
-
VIEW: MRP.MRP_SR_ASSIGNMENTS#
12.2.2
owner:MRP, object_type:VIEW, object_name:MRP_SR_ASSIGNMENTS#, status:VALID,
-
View: MRP_ITEM_SOURCING_LEVELS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MRP.MRP_ITEM_SOURCING_LEVELS_V, object_name:MRP_ITEM_SOURCING_LEVELS_V, status:VALID, product: MRP - Master Scheduling/MRP , description: Inventory items sources view , implementation_dba_data: APPS.MRP_ITEM_SOURCING_LEVELS_V ,