How can I update attribute1 of CSI_ITEM_INSTANCES with the operating org

Hi
I am working on Install base (Customer services) module of Oracle E-Business Suite.
I want to update the CSI_ITEM_INSTANCES.attribute1 with the operating org from a profile option.
Could anyone help me to figure out how can i do this?
Is there is any API which can be used to update this table.
Actually to update this column i wrote a trigger on this table which does the updation of CSI_ITEM_INSTANCE.ATTRIBUTE1 with the operating org from the profile option set at responsibility level but i got the wrong value for this profile option. Because when the data is inserted into this table the user_id, resp_id and resp_appl_id has been changed to sysadmin so i got the value for this user not the user who logged in.
If anybody has worked on this or done something like this please guide me
Thanks

Hi Naga,
Thanks for the Reply...
Actually I want to update the org_id in the CSI_ITEM_INSTANCE.attribute1 at the time of creation as well as any update.
I have looked into the api csi_item_instances_pub. it has two procedures 1) create_instance and 2) update _instance
I am not be able to understand where can I call these api's to update and creation for an instance and it has several parameters like record type and table type. So I am in a confusion state about the parameters list also. Could you help me to figure out this please?
And I want to restrict the Installed Base View Page by the value of attribute1(org_id) in CSI_ITEM_INSTANCES. In a thread I saw that this could not be done because this is a JTT/JTF page. Is there any way to customize the Install base view page by org_id?
Please suggest.
Thanks
Munish Mittal

Similar Messages

  • How can I update a Site Column with the content of an array with javascript CSOM?

    I'm relative new to Sharepoint 2013, I'm trying to update the content of a Site column with the content of an array, I can retrieve and visualize the content of my site column, the user is able to change and save the necessary part and the changes are
    saved into an array, now I have to update the content of the site column with the content of the array, but for some kind of reasons I can't accomplish that, any suggestion/example? This is my code so far to retrieve, visualize the site column and store the
    mofication into my array.
        <body>
                <select id="dropdown" name="dropdown" onchange="optSelect()">
                    <option value="EngineType_Cylinders">EngineType_Cylinders</option>
                    <option value="EngineType_EngineCycle">EngineType_EngineCycle</option>
                    <option value="EngineType_EngineFamily">EngineType_EngineFamily</option>
                    <option value="EngineType_Euro">EngineType_Euro</option>
                    <option value="EngineType_FamilyEvolution">EngineType_FamilyEvolution</option>
                    <option value="EngineType_GasEmissionLevel">EngineType_GasEmissionLevel</option>
                    <option value="EngineType_Power">EngineType_Power</option>
                    <option value="EngineType_PowerSupply">EngineType_PowerSupply</option>
                    <option value="EngineType_Use">EngineType_Use</option>
                </select><br />
                <textarea id="textareadisplay" rows="25" cols="23"></textarea><br />
                <input type ="button" value="Update values" onclick="addItemsToColumns()" />
            </body>
    My Javascript
        $(function () {
            SP.SOD.executeOrDelayUntilScriptLoaded(Function.createDelegate(this, function () {
               var select = document.getElementById('dropdown').value;
                console.log(select);
                getSiteColumns(select);
            }), 'SP.js');
        var fieldChoice;
        var choices;
        var addFields = [];
        var slc;
        var clientContext;
        function optSelect() {
            slc = document.getElementById('dropdown').value;
            getSiteColumns(slc);
        function getSiteColumns(selection) {
           clientContext = SP.ClientContext.get_current();
            if (clientContext != undefined && clientContext != null) {
                var web = clientContext.get_web();
                fieldChoice = clientContext.castTo(web.get_availableFields().getByTitle(selection), SP.FieldChoice);
                clientContext.load(this.fieldChoice);
                clientContext.executeQueryAsync(Function.createDelegate(this, this.OnLoadSuccess), Function.createDelegate(this, this.OnLoadFailed));
        function OnLoadSuccess(sender, args) {
            choices = fieldChoice.get_choices();
            var textarea = document.getElementById("textareadisplay");
            textarea.value = choices.join("\n");
        function OnLoadFailed(sender, args) {
            alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        function addItemsToColumns() {
            clientC = SP.ClientContext.get_current();
            var arrayForUpdate = $('#textareadisplay').val().split('\n');
            fieldChoice.set_item(, arrayForUpdate);
            fieldChoice.update();
            clientContext.executeQueryAsync(function () { }, function () { });
        function OnUpdateSuccess(sender, args) {
            var newchoices = fieldChoice.get_choices();
    My problem is on the function addItemsToColumns() please help! Thanks in advance.

    Let's look at your stylesheet -
    <style type="text/css">
    body {
    background-image: url(assets/images/Business%20Men%20In%20Reception%20Col.2.jpg);
    background-repeat: no-repeat;
    background-color: #003;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    It's a good idea not to use spaces or any punctuation in your filenames when working for the web.
    #header {
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    #heading {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    font-style: italic;
    font-variant: normal;
    margin-left:auto;
    margin-right:auto;
    There's no need to specify the default values (font-variant:normal) or to specify auto margins for any block element without an explicitly defined width. And wouldn't it make more sense to put the font style on the body tag, where it will inherit into the rest of the page than to restate it as you have done in the next rule?
    #bodytext {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 25px;
    font-variant: normal;
    width: 300px;
    #container {
    width: 960px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    .rightimg {
    float: right;
    margin-left: auto;
    padding-right: 40px;
    #heading #navbar ul li {
    padding: 30px;
    </style>
    Margin-left:auto can't work without knowing what the width of the element is....  Keep your CSS lean and targeted - it will help you to debug your layouts.

  • How can i update my new iphone with the data from my old iphone?

    I recently bought an iphone 3GS after my iphone 4 was stolen but when i try to sync the new phone it says the software is out of date. (when i was telling the guy at the apple store about my phone being stolen he said when you get a new phone just sync it to retrieve all the information stored on there. Is there any way i can retrieve the stuff from my old phone? I would like my messages, notes and apps from my old phone on my new one.

    Just to make sure - You're saying you had backed up your iPhone 4. When you plug in the 3GS, and try to "restore" the data from the iPhone 4 backup onto the 3GS, you get that error? Check to see if the iOS version is up-to-date, and hopefully it isn't. It might also be because your iPhone 4 wasn't, and is causing some sort of problem.
    Good luck!

  • How can I update my ipad 2 to the new OS system when I can't find the software

    how can I update my ipad 2 with the new operating system?  I am in 4.3.5 version

    iOS- How to update your iPhone, iPad, or iPod touch

  • My friend has an iPhone but doesn't use iMessage. How can I send her regular texts with the new iOS 7 update?

    My friend has an iPhone but doesn't use iMessage. How can I send her regular texts with the new iOS 7 update?

    That's because her phone is recognized in the Apple database as an iPhone.  It should eventually convert to SMS but that's above my level of expertise here so hopefully someone else can come along and help you further.  She could just turn on iMessage and solve the problem. Ha!
    Good luck!

  • How can I update my iPhone 4 with out all my pictures or music erasing ?

    How can I update my iPhone 4 with out all my pictures or music erasing ?

    All of your music and pics should be on your computer.
    If they are not, then put them there.

  • How can I update my iphone 4 with IOS 7 ??

    How can I update my iphone 4 with IOS 7 ??

    iOS 7 will be available this fall: http://www.apple.com/ios/ios7/

  • HT4972 how can i update ios4 to ios5 with my iphone4

    how can i update ios4 to ios5 with my iphone4

    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623

  • HT1222 how can I update my Ipad 2 with iOs 5 or better? I have version 4.3.5

    How can I update my Ipad 2 with iOS 5 or better? I have version 4.3.

    iOS: How to update your iPhone, iPad, or iPod touch
    read the entire article

  • How can i define a boolean variable with the condition if i got a specific text on a selected column?

    How can i define a boolean variable with the condition if i got a specific text on a selected column?
    Example:
    my select results:
    [id = 102] [Company = 'Microsoft']
    If i got microsoft in 'Company' i want to my another table with the columnName "Microsoft" get "true".
    Can you help me?

    That is called 2-table UPDATE.
    Example:
    http://www.sqlusa.com/bestpractices2005/updatewithcorrelatedsubquery/
    Kalman Toth Database & OLAP Architect
    Free T-SQL Scripts
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • What does this error message when I try to do updates mean? And how can I fix it? Thanks.   The operation couldn't be completed. (NSURLErrorDomain error -1012.)

    What does this error message when I try to do updates mean? And how can I fix it? Thanks.   (The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
    James
    maverick 10.9.1

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you boot, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can i update my ipod 3g to the iOS5 software?

    how can i update my ipod 3g to the iOS5 software?

    bobjbkln wrote:
    .... t it is unlikely that someone with a 2G 32 gb iPod would think that they had a 3G, because Apple stopped selling the 2G 32g iPod when the 3G came out.
    If only that were true! There have even been cases (in these discussion pages) of people believing they have a 4th gen Touch but it turns out it was a 2nd gen Touch.

  • How can i use my apple ID with the itune store over my windows laptop

    how can i use my apple ID with the itune store over my windows laptop

    If you don't have iTunes installed on your laptop then you can download and install it from here : http://www.apple.com/itunes/download/
    You can then log into your account on it via the Store > Sign In menu option (on iTunes 11 on a PC you can get the menus to show via control-B) :
    And you can then select the Store on the left-hand sidebar (you can enable the sidebar via control-S), and then browse items in the store and buy them by clickin on their price.

  • How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    How can I set up two iPhones with the same contact, photos, music etc... but a different sim card and phone number. They will both be my phones, but one will be for use in other countries.

    Phone A = phone with information you want duplicated
    Phone B = phone that you want to copy from A
    Backup Phone A.
    Wipe Phone B using these instructions. What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support
    Phone B should be on the 'Hello' screen. Do not swipe it. Launch iTunes. Plug in Phone B.
    When iTunes asks if you want to set up as new phone or restore from backup, choose restore from backup of Phone A.
    After this setup, any changes to one phone (i.e. adding a contact, downloading an app) will have to be manually duplicated on the second phone, if that is your desire). Making changes to one phone will not affect the other after setup.

  • I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I plug my computer into my stereo and use the remote app on my iPhone to control it. How can I control my wires iPad with the remote app on my iphone when it is plugged into the stereo? they are different iTunes accounts.

    I think this is probably a sign that your network could be better than it is.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first.

Maybe you are looking for