Assign Sourcing Rule API

Hi All,
I have to migrate ASR (Assign Sourcing Rules) in 11.5.10 instance.
Does anyone know what API is available to do this.
We can find ASR in EBS on following path:
Supply Chain (Responsibility) -> Sourcing -> Assign Sourcing Rule
Thanks in advance...
Thanks,
Swapnesh Parmar

Hi Swapnesh,
I have a similar requirement to load the Sourcing rules and attach the assignment sets to the sourcing rules.
I did a test and was able to load a single record using MRP_SOURCING_RULE_PUB and how to attach the assignment set?? i want to know how to use MRP_SRC_ASSIGNMENT_PUB.
As you are already aware, can you please let me know. If possible can you please email the code to my email id [email protected]
Thanks,
Raghav

Similar Messages

  • Assigning Sourcing rules to Assignment set using API or Interface table

    Hello Gurus,
    We have a requirement to migrate the data from legacy system to Oracle Apps.
    We are given with a data file containing sourcing rules and assignment set information which needs to be assigned to assignment sets.
    Are there any APIs or interface tables to assign the sourcing rule to Assignment set?
    Thanks in Advance.

    HI,
    I have a requirement, API for loading sourcing rules in APPS and attaching the same to Assignment sets at item level..
    I found that ,these are the API's for that..
    MRP_SOURCING_RULE_PUB.PROCESS_SOURCING_RULE ,MRP_SRC_ASSIGNMENT_PUB.Process_Assignment
    Please provide me the code for that.
    Can you please send to my mail -- [email protected]
    Thanks in advance...
    Vijaya

  • BLANKET PURCHASE ORDER로부터 ASL과 SOURCING RULE을 생성하는 방법

    제품 : MFG_PO
    작성날짜 : 2005-11-08
    BLANKET PURCHASE ORDER로부터 ASL과 SOURCING RULE을 생성하는 방법
    =================================================================
    PURPOSE
    Blanket PO로부터 ASL과 Soucing Rule을 생성하는 방법을 알아본다.
    Explanation
    1. Site level로 아래의 profile options이 setting 되어져 있는지 확인한다.
    PO: Allow Auto-generate Sourcing Rule = CREATE AND UPDATE
    PO: Allow autocreation of Oracle Sourcing documents = Yes
    2. User level로 하나의 assignment set을 아래의 profile option에 attach
    한다.
    MRP: Default Assignment Set
    3. Blanket Purchase Order를 생성한다.
    ASL과 Sourcing rule이 필요한 item이 입력되야 하며,BPA를 위한
    Effectivity date는 지정되어야 한다.
    4. Blanket Purchase Agreement를 저장하고 approve 한다.
    Enable Automatic Sourcing : Checked
    Update Existing rule and assigment : Checked
    Select the release method: Release using Autocreate
    5. 현재 BPA의 header status는 'Approved'이어야 한다.
    6. Workflow background process를 아래의 parameter와 함께 실행한다.
    Item Type : PO Approval
    Deffered Activity: Yes
    7. Supply Base > Approved Supplier List 화면으로 이동하여 Item을 조회
    하고 ASL이 생성되었는지 확인한다.
    8. ASL 화면의 Attributes로 이동하여 특정한 Release method를 가진
    Document가 첨부되어 있는지 확인한다.
    9. Supply Base > Assign Sourcing Rule 화면에서 MRP: Default Assignment
    Set profile option에 지정되어 있는 Assignment set을 조회한다.
    10.BPA에서 사용한 item을 Assign Sourcing Rule 화면에서 조회하고,item에
    대해 지정된 sourcing rule을 적어 놓는다.
    11.Supply base--> Sourcing rule
    Query the Sourcing rule
    ASL과 Sourcing Rule 둘 다 생성되었음을 확인할 수 있다.
    Reference Documents
    Note 246085.1

  • Error: MRP_ATTRIBUTE_VALUE_ERROR in creating Sourcing Rule

    Hi Gurus,
    We are getting below errror while creating SOurcing Rule through API Mrp_Sourcing_Rule_Pub.PROCESS_SOURCING_RULE.
    Below is the parameters we used.
              Mrp_Sourcing_Rule_Pub.PROCESS_SOURCING_RULE(
              p_api_version_number =>1.0
              ,p_init_msg_list => Fnd_Api.g_true
              --,p_return_values =>
              ,p_commit => Fnd_Api.g_true
              ,x_return_status =>l_return_status
              ,x_msg_count =>l_msg_count
              ,x_msg_data =>l_msg_data
              ,p_sourcing_rule_rec => l_sourcing_rule_rec
              ,p_sourcing_rule_val_rec => l_sourcing_rule_val_rec
              ,p_receiving_org_tbl => l_receiving_org_tbl
              ,p_receiving_org_val_tbl => l_receiving_org_val_tbl
              ,p_shipping_org_tbl => l_shipping_org_tbl
              ,p_shipping_org_val_tbl => l_shipping_org_val_tbl
              ,x_sourcing_rule_rec => o_sourcing_rule_rec
              ,x_sourcing_rule_val_rec => o_sourcing_rule_val_rec
              ,x_receiving_org_tbl => o_receiving_org_tbl
              ,x_receiving_org_val_tbl => o_receiving_org_val_tbl
              ,x_shipping_org_tbl => o_shipping_org_tbl
              ,x_shipping_org_val_tbl => o_shipping_org_val_tbl
    Data base details: 11i and Oracle10g.
    Regards,
    Reddy S

    We are getting below errror while creating SOurcing Rule through API Mrp_Sourcing_Rule_Pub.PROCESS_SOURCING_RULE.What is the error?
    Please see these docs/links.
    How Can We Use The Sourcing Rule API To Mass Update Vendor/Vendor Site On Sourcing Rule [ID 1144334.1]
    Sourcing Rule Api Does Not Allow Sourcing Rules With Same Name Even Though Organizations Are Different [ID 367915.1]
    MRP_SOURCING_RULE_PUB.PROCESS_SOURCING_RULE Errors ORA-01426: numeric overflow in Package MRP_Sourcing_Rule_PVT [ID 268831.1]
    Api (Mrp_sourcing_rule_pub.Process_sourcing_rule) Error Message Is Not Showing In Few Cases. [ID 1218285.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%22+Mrp_Sourcing_Rule_Pub.PROCESS_SOURCING_RULE%22&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Open Interface for Approved Supplier Lists and Sourcing Rules

    Hi All,
    Is there an open interface or an API available for Appeoved Supplier Lists and Sourcing Rules.
    Thanks and Regards,
    MPH

    Hi sandeep,
    I prefer to use the API mentioned.
    However this is in Oracle Manufactirung and we dont use that module instead I want to define them in Oracle Purchasing.
    can I still do it in Purchasing using the same API.
    Further as per the document there are 3 entities
    01) Sourcing Rule/Bill of Distribution
    02) Receiving Organization
    03) Shipping Organization
    Do I need to define all 3 in order to make it work?
    Thanks and Regards,
    MPH

  • ESYU: Blanket PO approve시 ASL과 Sourcing Rules이 생성되기 위해 요구되는 steps

    Purpose
    Oracle Purchasing - Version: 11.5.8 to 11.5.10
    Blanket Purchase Order approval 동안 ASL과 Sourcing Rules이 생성되게 하기 위해
    요구되는 steps에는 무엇이 있는지 알아본다.
    Solution
    Profile Options:
    - PO: Allow Auto-generate Sourcing Rules => CREATE AND UPDATE
    - PO: Allow Autocreation of Oracle Sourcing Documents => Yes
    - MRP: Default Assignment Set => Define with desired Assignment Set (eg. Supplier Scheduling)
    Note:
    - 위 Profiles은 User, Responsibility, Application 그리고 Site level로 setting 할 수 있다.
    - Profile option을 setting 하거나 변경 후, application을 re-log 해야 한다.
    Workflow Builder를 통해 PO Approval Workflow를 setup:
    Attributes
    - Create Sourcing Rule Flag: "Y"
    - Update Sourcing Rule Flag: "Y"
    - PO SR Rule Name Prefix: "PURCH" - Default Value
    - PO Assignment Type ID for SR: "3 - Item level "
    - PO Sourcing Organization ID: ASL이 생성되어야 하는 Inventory Org를 set
    Example 1 : 새로운 Socing Rule이 생성
    a. 아래 setting을 가진 Blanket을 생성:
    - "Enable Automatic Sourcing"
    - "Update Existing Sourcing Rule and Assignment"
    - Item: AS12345
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    b. Deferred Parameter "Yes", Workflow Background engine을 실행
    c. Supply Base> Approved Supplier List로 이동
    d. Item AS12345를 조회
    e. 생성된 ASL을 확인
    f. Soucing Rule 화면으로 이동
    - Sourcing Rule을 조회: PUR%
    - Soucing Rule 'PURCH_ABCD' 이 생성된 것을 확인
    - Supplier: Advanced Network Devices
    - Allocation = 100% , Rank =1
    g. Soucing Rule 생성을 확인
    h. Assignment Set 화면으로 이동
    i. 조회:
    - Assignment Set: Supplier Shceduling
    - Type: Item
    - Item: AS12345
    - Soucing Rule: PURCH_ABCD
    j. Assignment Set 생성을 확인
    Example 2 : 기존의 Soucing Rule / ASL을 update
    a. 아래 setting을 가진 Blanket을 생성:
    - "Enable Automatic Sourcing"
    - "Update Existing Sourcing Rule and Assignment"
    - Item: AS12345
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    b. Deferred Parameter "Yes", Workflow Background engine을 실행
    c. Supply Base> Approved Supplier List로 이동
    - Item 'AS1345'를 조회
    - Supplier Block으로 이동:
    - Supplier: Advantage Corp
    - Site: ADVANTAGE - US
    d. ASL이 존재하고 있음을 확인
    e. Soucing Rule 화면으로 이동
    - Soucing Rule을 조회: PUR%
    - Soucing Rule 'PURCH_ABCD' 이 생성된 것을 확인
    - Supplier: Advanced Network Devices
    - Site: SANTA CLARA
    - Allocation = 100% , Rank =1
    f. 기존의 Soucing rule PURCH_ABCD가 update 된 것을 확인
    g. Assignment Set 화면으로 이동, 조회
    - Assignment Set: Supplier Shceduling
    - Type: Item
    - Item: AS12345
    - Soucing Rule: PURCH_ABCD
    j. Assignment Set은 변경됨이 없음을 확인, 왜냐하면 soucing rule이 동일하기 때문
    Reference
    Note 273983.1

  • ASL, Sourcing rules and currencies.

    <p>
    Hi,
    I would appreciate any help with the following:
    I need to source item's price and supplier from a BPA into requisition line. BPA's currency is EUR while functional currency is USD.
    I have defined the following:
    A. Approved BPA with currency EUR for supplier X with site X1, for the required item. BPA is on effective dates.
    B. ASL for the required item for supplier X with site X1. ASL entry is Global.
    C. On the above ASL entry I asigned the BPA.
    D. I created a new sourcing rule for this supplier and site . Buy from,Allocation=100%, rank=1.
    E. I assigned the sourcing rule to the required item in assignment set that is defined at MRP:Default sourcing Aassignment set - for all organizations.
    Now, I opened a new requisition line , I changed the line currency to EUR and entered the item. I expected to have the supplier and price deaulted to the line. What I got as a result is: the supplier data (supplier, site and contact name) were defaulted to the line, but the price didn't. There were no change at the foreign currency price nor at the unit price. The source document data was not defaulted as well.
    When I tried the same process on a BPA with currency USD (the same as the functional currency), all the relevant data were defaulted.
    Can anyone help with this?
    Thanks,
    Nira.
    </p>

    Nira
    Same exact steps in my 11.5.9 instance yielded the results the way you are expecting them to be. I am using corporate daily coversion rates. Also I created the ASL in the master org as owning org (global though).
    Have you tried changing the currency first and then entering item?
    Thanks
    Nagamohan

  • Cisco ASA: Assign same rule sets to multiple interfaces

    Hi guys,
    We want to connect to physical interfaces from ASA to each Nexus core, so is there any possibility to assign same rule set to both interfaces simultaneously? (a kind of zone aggregation).
    Regards.
    Jesus

    Hi 
     What is Your ASA Code running on your ASA appliance , From ASA code 8.3 you can have global access rule . 
    lobal access rules.
    8.3(1)
    Global access rules were introduced.
    The following command was modified: access-group.
    Interface access rules are bound to any interface at the time of their creation. Without binding them to an interface, you can not create them. This differs from the Command Line example. With CLI, you first create the access list with the access listcommand, and then bind this access list to an interface with the access-group command. ASDM 6.3 and later, the access list is created and bound to an interface as a single task. This applies to the traffic flowing through that specific interface only.
    Global access rules are not bound to any interface. They can be configured through the ACL Manager tab in the ASDM and are applied to the global ingress traffic. They are implemented when there is a match based on the source, the destination, and the protocol type. These rules are not replicated on each interface, so they save memory space.
    When both these rules are to be implemented, interface access rules normally takes the precedence over the global access rules.
    HTH
    Sandy

  • What is the difference between sourcing rule and Bill of distribution

    Hi All,
    Can anybody explain me the difference between the Bill of distribution and sourcing rule. In what scenario a bill of distribution will be used.
    thank in advance for your clarification.
    thanks.
    babu

    Hi Babu
    While these 2 entities overlap each other significantly and may be used as a replacement of other at times, there are still a few basic differences outlined below:
    1. Sourcing Rules (SR) specify how an item (or group of items) are sourced for replenishment by an entity (say customer/ organization etc). Please note that its expressed in terms of receiving entity.
    2. Bill of Distribution (BOD) specify how an item is supplied by an entity (say organization). This is expressed in terms of supplying entity
    3. While BOD can only be assigned to internal organizations (could be CM or suppliers if modelled as an organization), Souricng Rule can be assigned to any type of entity including customers, suppliers, organizations and even regions & zones.
    4. Typically usage of BOD vs. SR may be dependent on you supply chain structure. If a make organization is supplying to multiple distribution centers etc, BOD may help reduce data setup volume. Instead if a distribution center is sourcing from multiple organizations, SR may be a better choice.
    5. If you're using regions & zones or customer locations to model how ATP/ ASCP selects a ship-from organization for Sales Orders, SR is only supported mechanism (unless these customers are modelled as organization)
    6. For suppliers (not modelled as Org), SR is only option.
    Hope this is helpful and please note BOD & SR aren't multually exclusive and can be used in combination at different levels of your supply chain.
    Please let me know if I may help any further.
    Thanks
    Navneet Goel
    http://www.inspirage.com
    NOTE: I suppose same question was asked by you in another thread, not sure if you intended to update same thread or re-query for same question.

  • Assign Source of supply is not working for contract with material group

    Dear Experts,
    I have searched all the threads and gone through before posting my query. So i would ask moderators to go through the thread properly before rejecting this.
    We have value contracts with respect to a particular material group without material and with item category W in the contract item, Please note that for the materials with this material group, the source determination is not set and source list is also not maintained.
    When we create PR for the material with this contract, and when we click on assign source of supply contracts used to get popped up, but recently from few days, when we click on assign source of supply we are getting an error " no source found for this item ".
    Can anybody help on this.
    Regards

    @ Biju,
    As mentioned earlier, we are not creating PR with reference to contract.
    first we are creating contract with item category W (material group), without material and plant details.
    we create PR with or without material with account assignment K and with the material group in the transaction ME51N, and after inputting all the fields, we click on assign source of supply, it was proposing the existing contracts with respect to material group earlier, but it is not happening for particular material group(it is working for all other material groups)
    Hope it is clear.
    @ Dev Patra,
    we are using DIEN-Service material types and we assign that particular material group to only service material type.
    we have not ticked, source list in the material master, we donot have any source list for the materials under that material group.( please check the note 457110- question number 14.)
    Regards

  • Creation Info Record at Material group,Source List & Assign source to PR

    Hi All,
    Mine is a typical requirement, I would like to create a Info Record at Material Group level and create Source list for the Material & Plant combination. Now for this combination, I would like to create PR & assign source for this PR.
    Completed at my end:
    1. Creation of Info Record at Material Group level
    2. Maintained Source List at Material level.
    Issues/ Errors:
    1. Info Record does not exist for the combination of Material & Vendor combination (which is true & I do not want it also)
    2. Material differs from the Material from the Info Record.
    Help / Information required :
    1. Setting MRP relevant "1" for the Source List and for checking the field "Fix".
    2. Assigning the Source in PR (in ME57)*Can anyone provide solution to the above
    Can anyone please provide the soilution to the above points?
    Thanks in advance for the solution.
    Regards,
    Pavan.

    Hi Please create Contract and refer same while source list. This will help
    Regs,
    AD

  • Assign Source of Supply for Services

    Hi,
    I understand that Materials has source list and the system can actually suggest possible vendors for the material via t-code ME25.
    However, I am now dealing with services with service master defined and service conditions maintained. I can create PR via ME51 and assign source of supply but I can't do this for PO via ME25 as that is catered for materials only (even if I entered item category D, it shows as a material PO).
    My question is, is there any default SAP transactions that allow me to create a service PO with the Assign source supply function? If no, what kind of enhancements can I look into to achieve this?
    Thanks!

    Hi,
    In a normal PO there is no auto assignment of sources so I am not sure why you think that there might be for a services PO?
    Remember that to create a PO, you have to specify the vendor first, so how can it assign a source automatically if you have to manually enter the source before you can do anything?
    If you are creating a PO with reference to a requisition or contract, again there is no auto source allocation because the source is being taken from the requisition.
    So you need to try to allocate the source to the requistion and not the PO
    Steve B

  • Assign Source of Supply User Exit with Quota Arrangements in ME57 and ME56

    Hi there,
    We are using Quota Arrangements to define Vendor rebate levels and we have enabled User Exit EXIT_SAPLMEQR_001 to provide a more informative popup to replace standard Source of Supply popup as need to display current allocation quantities and % allocation fulfiled.
    This User Exit is invoked during Assign Source of Supply during PReq processing (More precisely during Assign Source of Supply in ME51n and Automatic Source of Supply in ME57 and ME56) which all works fine.
    When used in ME51n and Source of Supply Assigned and PReq saved, the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is successfully updated with the relevant amount
    When using ME56 or ME57 to Automatically Assign source of Supply via the PReq list, the User Exit is invoked correctly and on selecting Vendor and saving the PReq is update correctly, however the allocated quantity against the valid Quota Arrangement (EQUK-QUMNG) is NOT updated with the relevant amount
    I have searched SAP Notes and debuged with limited success but cannot find evidence as to why this difference is happening - I assume that it has something to do with User Exit but any advice gratefully received if anyone else has experienced this issue?
    Ben

    Hello Jerry,
    source will be determine based on the following points:
    Outline Agreement
    Info record
    Quota Arrangement
    Source List
    For more information, <a href="http://help.sap.com/saphelp_47x200/helpdata/en/75/ee11b255c811d189900000e8322d00/content.htm">Click here</a>
    Hope this helps.
    Regards
    Arif Mansuri

  • Assign source of supply in PR from SO

    I have a PR that automatically created from SO.
    I have already created outline agreement for each material in PO and created source list (with fix indicator) too.
    But when I click "Assign source of supply" button in PR, system ask me to choose between outline agreement and info record.
    If I create PR manually with the same materials, the outline agreement will be assigned immediately after I click "Assign source of supply" button.
    Is there any master data or config that make these PRs act differently?
    Thanks for your help.
    Duangsamorn.

    Hi Duang,
    When you create the PR manually , guess that you are not selcting the source list check box ( tick
    in the ME51N screen ),hope this should be the reason for the difference in behavior.
    Please select the tick box when you create PR in ME51N, then the manual PR also will not auto select
    the Vendor. Please test & confirm the behavior after check box selected.

  • Sourcing Rules and Approved Supplier List in 11.5.10

    Does anybody know:
    Is it possible to default supplier information (and additionally source document information) into requisition and purchase order using sourcing rules and ASL for services, using only category and not item numbers?
    Thanks,
    Leonie

    Hi;
    I suggest check those information(column name, integrty etc) from e-trm site
    Regard
    Helios

Maybe you are looking for