MRP Sourcing Rule Assignment Upload creates, updates and deletes Oracle assignment sets and the sourcing rule assignments within them from Excel. Each row ties a sourcing rule or bill of distribution to a target at one of the six assignment levels (Global, Category, Item, Organization, Category-Organization, Item-Organization), and the upload processes the rows through Oracle’s standard sourcing assignment API, the same logic as the Sourcing Rule/Bill of Distribution Assignments form.

When to use it

  • Create a new assignment set and load many sourcing rule assignments into it.
  • Assign sourcing rules or bills of distribution to many items, categories, organizations or customer sites at once.
  • Re-point existing assignments to a different sourcing rule.
  • Remove obsolete assignments, or delete an entire assignment set.
  • Maintain assignment set descriptions and descriptive flexfield attributes in bulk.

Before you start

  • Access to Blitz Report from a manufacturing or planning responsibility with access to the item master organization you work with.
  • The sourcing rules and bills of distribution to assign already exist, are planning active and have a receipt organization that is not disabled.
  • For Category and Category-Organization assignments, the profile MRP:Sourcing Rule Category Set must be set; categories are taken from that category set.

Step 1 – Set the parameters

Open MRP Sourcing Rule Assignment Upload in Blitz Report and set the parameters:

ParameterMeaning
Master Organization CodeThe item master organization. Items on rows without an Organization are looked up in this organization. Defaults to the master of your current inventory organization.
Upload ModeCreate opens an empty sheet for new assignments; Create, Update downloads existing assignments for editing or deletion and lets you add new rows.
Assignment SetRestricts the download to one assignment set.
Assignment TypeRestricts the download to one assignment level, for example Item-Organization.
Sourcing Rule Type / Sourcing Rule NameRestrict the download to assignments of sourcing rules or bills of distribution, or of one named rule.
Organization Code / Category / ItemRestrict the download to assignments for an organization, category or item.
Customer / Customer Number / Customer Operating UnitRestrict the download to customer site assignments.

For Create, Update, set at least the Assignment Set, so that only the assignments you want to maintain are downloaded.

Blitz Report run screen for MRP Sourcing Rule Assignment Upload with Master Organization Code V1, Upload Mode Create, Update and Assignment Set TR1 Set

Step 2 – Run to download the Excel file

Click Run. The Excel file downloads and opens, with one row per existing assignment for Create, Update, or an empty sheet for Create.

Excel file with the four Item-Organization assignments of assignment set TR1 Set, showing organization, item, sourcing rule type, name and organization

Step 3 – Enter or change the assignments

To add an assignment, enter a row with the Assignment Set, the Assignment Type, the target columns that level needs, and the Sourcing Rule Type (Sourcing Rule or Bill of Distribution) and Sourcing Rule Name. An Assignment Set name that does not exist yet creates a new set, with the Assignment Set Description from the first row of that set.

Assignment TypeTarget columns
GlobalNone
CategoryCategory
ItemItem
OrganizationOrganization, or Customer Name with Customer Site
Category-OrganizationCategory, plus Organization or Customer Name with Customer Site
Item-OrganizationItem, plus Organization or Customer Name with Customer Site

Bills of distribution can only be assigned at Global, Category and Item level. A Sourcing Rule Org is only allowed at the organization levels and must match the row’s Organization. For customer assignments, Customer Site Use (Ship To or Bill To) and Customer Site Ou identify the site when the location name alone is not unique. Description shows the item or category description and is filled in for you.

To change a downloaded assignment, edit its target or sourcing rule columns, or the Assignment Set Description. To delete, set Delete Option to Assignment to delete that row’s assignment, or to Assignment Set on the first row of a set to delete the whole set with all its assignments.

Assignment set description changed on the first row (Action Update) and a new Item-Organization assignment of item ZTPKGS to sourcing rule TR1-Purch added (Action Create)

Step 4 – Validate and Save

Click Validate and Save. This checks for missing required values and saves the file. Correct any rows it flags before uploading.

After Validate and Save both edited rows show status Valid

Step 5 – Upload the file

In Blitz Report click Upload and select the saved file. This submits the upload request, which validates each row and creates, updates or deletes the assignment sets and assignments through Oracle’s sourcing assignment API.

Blitz Report File Upload page with the saved Excel file selected for submission

Step 6 – Review the result report

When the request completes, a result report opens listing every uploaded row with its status and message, showing the assignments as stored in Oracle.

Result report showing the updated and the created assignment rows with status Success

What’s produced

  • Assignment sets and sourcing rule assignments created, updated or deleted.
  • A result report listing every row with a status (success or error) and a message.

Common questions

How does it know whether to create or update?
An assignment set is found by its name, an assignment by its set, assignment type, sourcing rule type and target (organization, item, category, customer site). Found means update, not found means create. In Create mode existing assignments cannot be updated or deleted.

Why can I not pick Category as an assignment type?
Category levels need the profile MRP:Sourcing Rule Category Set. The Category level itself is also not offered when that category set is controlled at organization level; use Category-Organization instead.

Can I assign a bill of distribution to an organization?
No. Bills of distribution are valid only for Global, Category and Item assignments; the organization levels accept sourcing rules only.

Which items can I select?
On a row with an Organization, items of that organization; otherwise items of the Master Organization Code parameter.

How do I delete a whole assignment set?
Download it in Create, Update mode and set Delete Option to Assignment Set on the first row of that set. A set delete requested on a later row of the same set is rejected.

Troubleshooting

MessageCauseWhat to do
Sourcing Rule Type/Name/Org is not validNo planning active sourcing rule or bill of distribution with that type, name and organization and an enabled receipt organization exists.Check the Sourcing Rule Type, Name and Sourcing Rule Org; leave the org empty for rules valid in all organizations.
The Sourcing Rule Type is invalid for this Assignment TypeA bill of distribution was assigned at an organization level.Use a sourcing rule, or a Global, Category or Item assignment.
Only Global Sourcing Rules can be specified for this assignment typeA Sourcing Rule Org was entered on a Global, Category or Item row.Clear the Sourcing Rule Org and use a rule valid in all organizations.
The Sourcing Rule Organization (if specified) must match the Assignment OrganizationThe Sourcing Rule Org differs from the row’s Organization.Use a rule of the same organization or one valid in all organizations.
Organization or Customer must be specified for this assignment typeAn organization level row has neither or both an Organization and a Customer.Enter exactly one of Organization or Customer Name.
Item must be specified for this assignment type / Category must be specified for this assignment typeThe target column the assignment type requires is empty.Enter the Item or Category, or change the Assignment Type.
Item is not validThe item does not exist in the row’s Organization (or the master organization) or is not a standard, model or option class item.Check the item and organization.
Category level assignments are not permitted. Profile ‘MRP:Sourcing Rule Category’ Set is not setA Category was entered but the category set profile is empty.Set profile MRP:Sourcing Rule Category Set.
Customer Site is required when a Customer is specifiedA Customer Name was entered without a Customer Site.Enter the Customer Site.
Customer Site / Site Use / Operating Unit combination is not validNo active Ship To or Bill To site matches the entered values.Pick the site from the list, with its Site Use and Operating Unit.
You can not update existing Assignments in Create ModeThe row matches an existing assignment but the file was downloaded in Create mode.Download in Create, Update mode to change existing assignments.
Assignment cannot be deleted. Assignment entry does not existDelete Option Assignment was set on a row that matches no assignment.Download the assignment first and delete it from that row.
An Assignment Set can only be deleted from the first row of that set in the fileDelete Option Assignment Set was set on a later row of the set.Set it on the first row of that assignment set.