How to add new resource to existing routes using the API / Interface Tables?

Hi friends,

I need to add new resources to our existing ranges. The number of records is more than 10,000. So I need to create an anonymous block for her. But I don't know what are the tables Interface / API to use for their insertion. If anyone can guide me how can this be achieved, I would really appreciate it. If you can provide me with an example of code for it, it would be the best.

Thanks in advance.

KM

Hi KM.

PL insert the line in the BOM_OP_RESOURCES_INTERFACE table with

INSERT INTO BOM_OP_RESOURCES_INTERFACE
(process_flag, transaction_type, organization_id, routing_sequence_id, operation_seq_num, resource_seq_num,
resource_code, assigned_units, usage_rate_or_amount, basis_type, schedule_flag, creation_date, effectivity_date)
VALUES
(1, 'CREATE', organization_id, v_rout_seq_id, v_operation_seq_num, v_resource_seq_num, v_resource_code,
v_assigned_units, v_usage_rate_or_amount, DECODE (v_basis_type, 'BATCH', 2, 'ITEM', 1),
Decode(i.schedule_yes_no, 'YES', 1, 'NO', 2), sysdate, v_eff_dt);

Where, v_eff_dt = SELECT operation_sequence_id, effectivity_date IN v_oper_seq_id, v_eff_dt
OF bom_operation_sequences b
WHERE b.routing_sequence_id = v_rout_seq_id
AND b.operation_seq_num = v_operation_seq_num;

Then run simultaneous 'Bill and routing Interface' to import resources into the existing ranges.

HTH
Sanjay

Tags: Oracle Applications

Similar Questions

  • How to associate the data store of the target for the newly created using the API Interface

    How to create a new Interface under project, need to associate the data store target for mappings for the interface by using APIs "."

    Able to get the associated interface created temporary data store. You need to associate a new database model. How to do this using the API

    My code is,

    String pCode = "DEVELOPMENT";
    Context OdiContext = (mgr.getFinder (OdiContext.class)) .findByCode (pCode) (IOdiContextFinder);
    System.out.println (Context.getLastDate ());

    OdiInterface pInterface = new OdiInterface ("toDeleted_Interface", pFolder, context);
    pFolder.addInterface (pInterface);

    The list of ds < DataSet > = pInterface.getDataSets ();
    < DataSet > iterator itr = ds.iterator ();
    DataSet ds_nxt = itr.next ();

    PAlias string = "HRA_TMPL_DEFNS_TL";
    pOrder int = 0;
    OdiModel pModel = (mgr.getFinder (OdiModel.class)) .findByCode ("FILE_PM_MODEL") (IOdiModelFinder);
    String pName = "HRA_TMPL_DEFNS_TL";
    OdiDataStore pUnderlyingOdiDataStore = new OdiDataStore (pModel, pName);
    SourceDataStore pSourceDataStore = new SourceDataStore (ds_nxt, false, pAlias, pOrder, pUnderlyingOdiDataStore);
    ds_nxt.addSourceDataStore (pSourceDataStore);

    TargetDataStore tdata = pInterface.getTargetDataStore ();

    If (tdata.isTemporaryDataStore ())
    {
    }

    http://odiexperts.com/creating-interface-for-single-source-and-target/
    http://odiexperts.com/creating-temporary-interface-using-ODI-SDK/

  • How to add new VO to existing AppModule

    I have an AppModule existing with certain existing vo
    Now, I created a new EO with links and a VO with viewlinks. The wizard asks me to add this to the existing appmodule which is ok but I want to add the VO again to be a child of an existing instance in the appmodule.

    By default, the wizard creates a new instance of the master with the new VO as a child. But how to add the new VO as a child to an existing instance in the appmodule? I can't find an option for that...

    Do you mean:

    1. go in the module-> application data model.
    2. Select an instance of VO already added in the data (right) model.
    3. click on the + in front on the object VO (left) so that it displays all the correspondign to view links for VO.
    4. choose on of them and he shuffle to the data model.

    In this way, you add a new detail to an existing instance of the VO in the data model.

    Or I do not understand your question?

    Edited by: Valhery 20-5-2010 23:41

  • How to add contacts to your existing groups or how to manage your groups?

    Anyone know how to add contacts to your existing groups or how you manage your existing groups. How do you even add new groups I can't find a way to do this in the ocntacts.

    Hello

    1. what version of Windows is installed on the computer?

    2 are. what groups you referring?

    3. What mail client do you use?

    If you use Hotmail, you can post your request in the Windows Live Forum.

     

    http://answers.Microsoft.com/en-us/windowslive/Forum/Hotmail

    You can check the link:

    http://Windows.Microsoft.com/en-us/Windows-Live/Mail-import-backup-restore

     

    Please get back to us with the above information so that we can help you accordingly.

  • How can I change to use a wep, tells me is not secure personal wpa running? I have a brand new d link 2680 router & used windows xp 3?

    How can I change to use a wep, tells me is not secure personal wpa running? I have a brand new d link 2680 router & used windows xp 3?

    Wireless security is controlled by the router.

    Download the manual of your router on the following link:
        <>FTP://FTP.Dlink.co.UK/diagrams/Misc/DSL-2680_A1_Manual_EU_1.0.PDF >

    To change to the WPA instructions are on page 39.

    After that, you may need to remove all references to your router on your devices without wire, then re-establisg the connection.   Alternatively, you can change your Secure ID (SSID) as you make changes to the configuration of your router and then reconnect the new SSID for all devices.

    HTH,
    JW

  • How to add new fields of contacts and accounts?

    How to add new fields of contacts and accounts?

    You can use 'Fields' and 'View '.

  • Tecra M5: "insufficient system resources exist to complete the API"

    Symptom:
    When you try to Hibernate new notebooks Tecra M5 with-online 1 GB of RAM, the error message "Windows - system error. "Insufficient system resources exist to complete the API" appears and laptop crashes hibernate until you restart XP. This problem may be present on the other model with-online 1 GB of RAM.

    Difficulty: http://support.microsoft.com/?kbid=909095

    PS. you need to call Microsoft to get the fix.

    Hello

    I studied on the Toshiba site and found this one.
    Please check this useful Toshiba FAQ document:
    http://support.toshiba-tro.de/KB0/FAQ6201CE000SR01.htm

    Good bye

  • Insufficient system resources exist to complete the API.

    That's what my computer says when I try to connect: "insufficient system resources exist to complete the API."   When I turn on the computer, it says that in a small box, a few seconds after that it says 'Windows is putting on the way to the TOP.'  But it won't be because of this and he just keeps fact that over and over again before it restarts itself.   I looked into this and found "this problem occurs generally when the computer uses 1 GB or more of RAM."  Please tell me how to solve this problem.   Thank you.

    http://support.Microsoft.com/kb/909095

    Hope this helps, Gerry Cornell

  • Windows mail. When sending a new email, I want to use the BCC field, that I can not select because it is not on the new Message. __How make CCB to come when I create a new message? This something __Is I can add tools please?

    Windows mail. When sending a new email, I want to use the BCC field, that I can not select because it is not on the new Message.
    How can I get the future BCC when I create a new message?
    Can I add tools please?

    Thanks for the reply Bruce Hagen. I am very grateful.

    Dave.

    In a new message window: view | All the headers. Check it out. Or, simply click on the button to easily add to your contacts list to: To, CC, or BCC.

    Bruce Hagen ~ MS - MVP [Mail]

  • How can we add lines by using the APIs in the Apex?

    Hi all

    In my application, I created the elements of text using the API like this:

    HTP.p ('< tr >');
    HTP.p ("< td width = 80px align =" center"> < b > ');
    HTP.p ("font color =" black"> ');
    HTP.p (APEX_ITEM. Text(1,c.empno,10,30,"','','"f01_'|| j||'"'));
    HTP.p ("< /b > < table > '");

    Now, I need to add a line button when you click on to insert a new row so that it can enter data...

    How do I do this?

    Thank you
    David...

    David,

    If the EMPNO is your primary key column, it cannot be changed. The update process identifies the line updated by EMPNO. If you want to allow users to change the EMPNO value, you will need to add another column to your tabular form that is used to store the primary key. In general, the primary key values must be meaningless, should not be exposed to the end user and only used for internal processing.

    Kind regards
    Marc

  • Put into hibernation - insufficient system resources exist to complete the API (Tecra M4)

    I just thought I'd pass on my experience with this problem.

    I recently updated my Tecra M4 2 GB of RAM memory. Everything was fine except everyonce in a while he would not hibernate. However, it would suspend to RAM (standby). It seemed to happen after the antivirus software has managed to (which I had changed at the same time). I studied this way, but it also happened if I had a lot of programs running. So, a quick google search revealed why almost all laptops come with only 512 MB of RAM.

    There is a problem with Windows, freeing the memory in a way that allows it to be written to the hard disk, preventing the hibernation and to create the very vague error message "insufficient system resources exist to complete the API".

    The solution is to contact Microsoft by phone and ask them for the fix for the #909095 of the Knowledge Base article. The fix is free but the MS site makes it seem as if you have to pay £200 to contact Ms support

    This seems to have solved my problem!
    Hooray!

    This is the Knowledge Base article:
    http://support.Microsoft.com/?kbid=909095

    Here's the Blog I found the solution on:
    http://www.ntwizards.NET/2004/10/13/Hibernate
    Of course, the only problem with contacting MS support is that I received a LOT of phone calls asking me what I thought of their support... it was very good, so I don't really mind, but I find it funny that I continue to have called and asked the same questions!

    Hi Kelly

    Thanks for this useful information.
    It of very nice that you posted this tip. I think that it s very useful for users of the forum who might have the same problems on laptops.

    Concerning

  • I try to add a route using the route add command, the command response is "the requested operation requires a rise."

    I'm traying to add a route using the route add command, the command response is "the requested operation requires a rise."

    Command: route add 10.1.1.0 mask 192.168.31.3 192.168.31.33

    Whay can I do, because I had tried in many cases

    original title: route command

    In response to a previous and similar thread...

    You can watch using the PowerShell...

    http://TechNet.Microsoft.com/en-us/library/bb978526.aspx

    http://TechNet.Microsoft.com/en-us/scriptcenter/dd742419.aspx

    .. .and post this question on the forum of Windows PowerShell...

    http://social.technet.Microsoft.com/forums/en/winserverpowershell/threads

  • How can I move live sites hosted in BusinessCatalyst of composition creative cloud for a new creative cloud membership without using the partner or partner codes portals?

    How can I move live sites hosted in BusinessCatalyst of composition creative cloud for a new creative cloud membership without using the partner or partner codes portals?

    I don't think you can but your best bet is to contact the support of the BC and see what they can do.

  • How to add a pop-up window to set the date and time in a field

    How to add a pop-up window to set the date and time in a field? I know how to add the date. I create the field time with JavaScript event initialize like this:

    this.rawValue = num2date(date(), DateFmt(4));
    

    What I should change the script and the motive to do it properly.

    I changed the Format of data (object > link tab) date time but nothing happen. I want to set up a pop-up window as for the setting of date but with addition of time setting.

    Is this possible? Or that the date fixed like that? Should I get hour hand?

    Hello

    I don't think you will get both in the calendar popup. Basically, the popup calendar is the default behavior. It may be possible to develop a custom component, but it would take a bit of scripting and would probably not be worth the effort.

    I'd get the user to time manually entry in a separate field.

    Good luck

    Niall

  • How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    Whenever I use the online tool, a new layer is created. How can I stop this? No settings have been changed.
    Thanks in advance.

    Look at the three options in the top bar.

Maybe you are looking for

  • Spare battery does not load

    Hello As my laptop battery died, I bought a replacement battery for Toshiba A300 - 16L, but the battery won't charge at all. My laptop says "plugged in, not supported. When I put the original battery, it says "plugged in, in charge.I don't know if th

  • Buy Tablet

    Hey I live in South Africa and I want to buy a lenovo tablet in the Microsoft store However, they offer only in America

  • How can I correct direct3d functionailty problem isn't available, get error message: failed to display initialization

    When I play a part of the computer comes up with a direct3d error message feature is not available "failed initialization of display. I downloaded what I thought, it was the most recent update of windows updates current direct3d, but it does not solv

  • Installed IE8, but visited sites see my browser like IE6 or below

    Is there some files IE more alumni that should be deleted so that the sites I visit will see that I'm running the current IE8?  I just reinstalled IE8 and all the updates this morning. What happened twice today on various sites;  a private company, a

  • Grip and HP m9380.be, a gel

    Hi all, my HP m9380.be - a (Vista 64-bit) freezes a few minutes after I turn it on. No devices are connected (except keyboard and USB mouse). It also freezes if I plug anything (speaker or USB).  Sometimes it stays for several hours or even days - un