VO CreateandInit Row for exisiting rows

Using: Jdev11.1.1.7
I am working a generic CSV data uploader utility, however I am running into a problem with existing rows.
I have a dynamic EO and VO based on configurations defined in a db table, and when I upload data, I am populating the VO with the records form the CSV. I am doing vo.createandInitRow to load the VO with all the data form the csv. However it marks all rows as New, and tries to insert them.
I want to set the records state to "modified" where the Primary Key is provided in the CSV (I want this row to be updated rather than inserted) and only if the primary key is null, I want to create a new sequence and mark the row for insert. This is where my application is failing, as I am not able to set the row for update.
Any pointers will help please.
Thanks
Anand

One way to handle this is to load the existing record using the given pk and overwrite the attributes with ones from the file. This way you don't have to fool the framework and will not run into trouble later on when you try to save the new and the changed rows.
Timo

Similar Messages

  • How to add blank table for exisiting PDF?

    Hi team,
               I have a PDF which is to display data in a queue order.But i am not sucessful in that case. So for my solution i need to have a blank table in starting page (I mean 1st).So i have no idea how to edit and add a new table to exisiting PDF. Please help me out.Its very urgent.

    You have reached the FormsCentral forum. You need to ask your question on the Acrobat forum.
    http://forums.adobe.com/community/acrobat
    Gen

  • Looking to explo up SCM - TM  for exisiting SCM DP and SNP setup

    Hi
    we are looking to explore the transportation management module to add value to exisiting ECC-PM (Fleet) operations.
    currently we have SCM- DP and SNP in use.
    please suggest ideas / experiences.

    Fred
    Check OSS notes for this error. The BOP compponent has a steady stream of corrections developed by SAP especially in older releases.
    Also make sure your Livecache Build is consistent with SCM Release/ Patch level.
    Rishi Menon

  • Price difference for new BT customers for Infinity...

    BT are currently offering a BT Infinity 1 package at an online price of £15 a month. If I try to order online , after filling in my details the order always fails but as an existing BT adsl customer it appears that I can only upgrade to infinity for £18 a month. Is this offer only available to new customers and if that is the case it seems terribly unfair. What price loyalty!
    Solved!
    Go to Solution.

    Good luck with the options team - i tried them today and they wouldn't budge. There's a lower price for new customers and a higher price for exisiting.
    I am out of contract and have been waiting to see what happened with BT Sport before making a decision whether to stay with BB and TV or go elsewhere. I have been very patient for the last 12 months with the new Vision box and the horrendous & numerous problems we've had and this is the reward we get for our loyalty. When I said i could go to a well known satellite broadcaster for not much more per month I experienced a speech saying how much better BT Sport will be than them and that BT have more premier league matches and more sport etc etc !!!  Not really true compared to what I've read about what BT are showing.
    Obviously new customer attraction is more important than loyal cutomer retention. MAC code becons I think.
    Anyone else had any different experiences?

  • Suggestions for upgrading 3 Mac Pro FCP edit stations

    I want to upgrade our three Mac Pro (Power PC) FCP5 edit stations. Our Mac Pro G5s currently access a Xraid/Xserve/Xsan fiber network. There seems to be plenty of speculation out there that Apple is discontuing the Mac Pro line and FCP X is not compatible with our exisitng projects - which number in the hundreds. So, I might be leaning toward new high-end iMacs using FCP7 but I'm not sure how to network them and share FCP projects. Any suggestions on where to go from here are appreciated. Thanks.

    *** Fibre Channel
    Probably the most important thing that you'll be losing on an iMac is the Fibre Channel connection; however, Promise Technologies has their SANLink - Fibre Channel adapter using Thunderbolt Technology (I don't know if it's actually shipping yet),
    Here's the product link:
    http://www.promise.com/storage/raid_series.aspx?region=en-global&m=192&rsn1=40&r sn3=49
    The upside here is that if this adapter works as expected, you could use any Mac with Thunderbolt (all the current models have it).  Even though the Mac mini is the least powerful of the Apple line, it's a huge performace leap over a PowerMac G5 and the Mac mini supports both a computer display via its Thunderbolt/Display PortMini and a HDMI TV via its HDMI out.  This takes perfect advantage of FCP Digital Cinema Desktop modes.
    *** Which version of FCP do you own?
    Another issue is going to be your FCP software installers (which I'm sure you're already aware of).  Your PowerMac G5s must be running Final Cut Pro 6 or older as 6 was the last version to run on a PowerPC.  And Final Cut Pro 5 was the first version that could be installed on an Intel based Mac.
    In theory, FCP5, 6 or 7 will run on an intel Mac, however, the current Mac OS and support for it is probably going to be your biggest issue for everything that curently works as expected on your G5s.
    The upgrade from FCP 5 to 6 or 7 is as easy as it gets other than having to order Final Cut Pro Studio 3 directly from Apple (last I read, they're still selling it if you call them with the part number and you say you need it for exisiting projects).
    *** Do you use 3rd party capture cards like the Blackmagic-Designs Decklink?  Blackmagic makes a Thunderbolt replacement which should work fine on its own, but will need to be carefully tested with the Fibre Channel adapter.
    Be ready to be on the phone with tech support, checking user forums, and make sure you can take anything that you're purchased back.

  • Select_list_from_lov_xl and nulls

    I am creating a column on a report which will have an lov using the code below:-
    apex_item.select_list_from_lov_xl(p_idx,
    p_value,
    'ARL LOV',
    l_attributes,
    'YES',
    '%null%',
    'Please Select',
    NVL(p_item_id,item_id(p_idx,p_rownum)));
    The problem I have is that for exisiting records where the value of the column (that the lov is for) is null it is not translating the null into the text 'Please Select'. The text is displayed in the lov when you click on the list but it should be displayed as default, as it is for page items that use the same lov.
    Has anyone else seen this happening and do you know how I can get around it?
    Andy.

    Thanks Daniel for your reply.
    I tried what you suggested, my lov query is
    Select 'Please Select' show, null value
    from dual
    union all
    SELECT arle_description||' - '||arle_code show , arle_code value
    FROM assessment_risk_levels
    WHERE arle_current_ind = 'Y'
    ORDER BY 1
    I called select_list_from_lov_xl with p_show_null = 'NO'
    However I still cannot get 'Please Select' displayed automatically for rows where the value is null. A blank is displayed and 'Please Select' is displayed at the top of the LOV.
    Any other ideas?

  • Kernel parameter tuning in Solaris 10

    Hi Guru's
    Can you any one help me to find the some good docs for Solaris kernel tuning. How to change the kernel parameter online?
    How to do kernel tuning in online and what is the purposre of /etc/system and sysdef command.
    How I can search for exisiting kernel value.
    Thanks in advance.
    Jimbe

    There is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
    have a good day,
    Glen

  • Change View in Browser Setting

    I have packaged Reader 10 that we deployed to our users with it set to view PDFs in Reader.  There is a group of people in this one department now that want it set to view in browser.  I tried setting it in the registry to integrate in the browser which works fine for exisiting users.  The problem is when a new user logins to a machine those settings are ignored and it defaults to view in Reader and not browser.
    Is there any way I can change this?  My only solution so far is to create a new package with it set to view in Browser and to maintain 2 packages...

    I have an website and a forum ( http://www.13tribos.com.br/forum ) with some pdf files for download. There are some people that are having trouble because the configuration in their browers that opens the documento itself with adobe plugin. Why I can solve tris issue because people needs to download the pdf files to read later ? I´m wondering in compress file, but is not a good solution. Is an another option to the pdf that lets bypass open and save the file ?
    Thanks you attention
    Alessandro Drago

  • How to include depreciation are in  asset master data

    I have already activated depreciation area in the asset class but it did not appear inn asset master data.
    How to include it there?
    Tks,
    Naej

    Hi,
    There are 2 aspect which you need to consider.
    1) For exisiting asset as  used AFBN as suggested by Srinivasa to activate the depreciation area.
    2) For new asset OAYZ configuation would populate the dep key and life.
    Thanks
    Vaibhav
    Edited by: vaibhav patil on Apr 22, 2010 10:40 PM

  • How to remove container from Application Support?

    How to remove specific containers from Library/Application Support/Containers? Is it good or bad for exisiting application? Please, assist!

    It is somewhat similar to removing the application's plist file. It shouldn't cause any problems, but I haven't done a lot of testing. Back it up before you delete so you can return it if necessary.

  • Subscription Confusion

    Hello
    Ok yesterday I was confused because a lot of ondemand shows that should be FREE were suddenly showing up as £1.10 charge to watch them and after reading a few messages and the price change information in january which reduced all packages (Bronze, Silver and Gold) down to one single price of £12.50 and after looking at the price page found here: Vision Prices it looks like theres now only 2 options available..contract or pay-as-you-go..bronze and silver options no longer exist because everything has been merged into one single package (Gold - contract)
    Now under the new contract option (Gold) it shows EVERYTHING as being free (except for box office and sports) and due to the price reduction in January everyone whos on contract should be on this new single gold option..because its the only one available!.  When I took out my contract I think I was on bronze and chose TV/Music as part of my subscription to be free..which left kids shows and the rest obviously I would need to pay for those..BUT again because of this price change EVERYONE should now be on gold and EVERYTHING (apart from box office and sports) should now be FREE for everyone...The problem is my vision box is still showing kids shows as a £0.50 charge to watch them..why is this??????
    Im on contract so everything should be free for me to watch..why isnt it???..please explain BT????
    Thank you.

    maxrpg wrote:
    Hello
    Ok yesterday I was confused because a lot of ondemand shows that should be FREE were suddenly showing up as £1.10 charge to watch them and after reading a few messages and the price change information in january which reduced all packages (Bronze, Silver and Gold) down to one single price of £12.50 and after looking at the price page found here: Vision Prices it looks like theres now only 2 options available..contract or pay-as-you-go..bronze and silver options no longer exist because everything has been merged into one single package (Gold - contract)
    Now under the new contract option (Gold) it shows EVERYTHING as being free (except for box office and sports) and due to the price reduction in January everyone whos on contract should be on this new single gold option..because its the only one available!.  When I took out my contract I think I was on bronze and chose TV/Music as part of my subscription to be free..which left kids shows and the rest obviously I would need to pay for those..BUT again because of this price change EVERYONE should now be on gold and EVERYTHING (apart from box office and sports) should now be FREE for everyone...The problem is my vision box is still showing kids shows as a £0.50 charge to watch them..why is this??????
    Im on contract so everything should be free for me to watch..why isnt it???..please explain BT????
    Thank you.
    Hi,
    For exisiting users, Bronze = £12.50, Silver =£12.50, Gold =£12.50.
    If you were on Bronze when you signed-up, you will be on Bronze now.
    YOU, the customer, have to actually ring BT to request the upgrade to the Gold package.
    Hope that helps.
    Oh, and you'll be up and running within an hour after your call to BT.
    Rank - Mostly Harmless.

  • Creating Archlinux custom CD from w/i WinXP

    Hi all,
    Sorry if this has already been answered in the forums, but could't find it.
    I need to d/l all the current Archlinux base stuff plus KDE + misc stuff... and create a custom install CD through WinXP, is that possible?
    Why is there not a Archlinux 0.7.2 ISO??? with all the new CD kernels, modules for boot ...etc.  Getting net access w/ the current ISO is hard especially when all you have is a WinXP box can't gensync or whatever.
    p.s. SuSE 9.3 works fine... w/ net access dual boot 'n all... but that not installed any more :-(
    Thanks In Advance for any help.

    https://wiki.archlinux.org/index.php/In … ting_Linux ? it is the first result on the wiki for ``exisiting''

  • How Do I Customize the Key Combination to Cycle Through Windows in Reverse in all Applications?

    How do I customize the key combination to cycle through windows in reverse in all applications?  I want to be able to change the global setting for Command+~ (Cmd+Shft+`) to something more desireable.  I could NOT find a way to do this in Systems Preference -> Keyboard -> Keyboard Shortcuts since there is not a menu selection "Cycle Through Windows in Reverse".  I then went and looked in the plists DBs of Finders resources hoping to find a setting I could override.  I was quite supprised, as well as some of the MAC gurus in the office, that there was not an easier way to override cycling through windows in reverse on a MacBook - the most user friendly and accessibility aware computer on the market:)
    Here is my MAC software info.
    System Version:  Mac OS X 10.6.7 (10J869)
    Kernel Version:  Darwin 10.7.0

    I don't know of any way to have a separate commandkey combo for the reverse cycle function.
    From the Help pages for OS X 10.6.7 ("Using global keyboard shortcuts") -
    NOTE: You can create keyboard shortcuts only for exisiting menu commands.
    Since the 'reverse' cycle command is not an existing menu item, creating a separate key combo for it doesn't seem possible. Apparently the 'reverse' cycle command is a fixed one, internally defined as a mod of the normal cycle command invoked by adding Shift to its key combo.
    There may be a way to achieve what you want via a two-step process: write an AppleScript that will invoke the 'reverse' key-combo set, then link the activation of the AppleScript to a key combo of your choosing. Not sure if this is even possible, though - usually AppleScript activation via keyboard would be set up via an FKey.
    I can understand wanting to share the RSI risk evenly between both hands, or even to unload the left hand if that is desirable. However, apparently a two-key combo can't be done for the reverse cycle function. Is a three-key combo not possible? ...meaning a two-key combo on the right (Command plus something) for normal cycling, adding Shift for reversing?
    One caution about changing keyboard command combos - it's very easy to accidentally set up a conflict with a another existing commandkey set. FWIW, most, if not all, of the mnemonic and easily-reached letters are already used. In this vein, the Keyboard Shortcuts page of the Keyboard prefs pane shows such conflicts via a yellow caution triangle next to the conflictors.

  • PeopleSoft Resource Adaptor

    Hello experts,
    We are in the early stages of configuring PeopleSoft to Sun IDM 6.0. From the resource reference doc, I got some information about how to configure PS Component Interface. I have some basic questions.
    1. Which server details need to be given for host, user and password in the Resource configuration wizard. Is it PS app server, or webserver or DB server. (I don't know much about PeopleSoft. When I contacted our PS team for these details, they asked me this question).
    2. Our goal is to create new profiles in PS and provision roles for exisiting accounts. Can we use the default PeopleSoft Component Interface adapter for this purpose. Do we need to customize the adapter to have basic provisioning? Do we need to modify any configuration objects ?
    Your help is highly appreciated.
    Thanks!

    Id be happy to assist you if i can.
    feel free to call me 303.222.1058
    --Dana Reed
    AegisUSA
    303 222 1058
    773 412 378
    [email protected]

  • Transaction to call ChaRM

    Hello,
    Do we have any tcode to call the ChaRM? I am not mentioning about CRMD_ORDER and then select the tab for ChaRM nor any workcenter. I need to know whether there exists any tcode which will take me to the screen of creating ChaRM.
    Regards,
    Rajeev

    You can't  "create" ChaRM, you need to implement it, you need to follow the Implementation Guide to implement ChaRM.
    However, if you're referring to the creation of projects and activation of ChaRM; use transaction SOLAR_PROJECT_ADMIN.
    From there, you can create maintenance projects (for exisiting system landscapes). Under the tab "system landscape", you can activate ChaRM in the subtab "change requests". (If your system landscape is properly configured)
    Let me know if this answers your question or if you require more info.
    Best Regards,
    Jeroen.

Maybe you are looking for

  • Choosing between 720p and 1080p on Mini connected to Sony HDTV (1920x1080)

    I have a late 2009 Mac Mini and a SONY HDTV and had no difficulties at all in hooking them up. I just connected the Mini Display Port to DVI connector which ships with the MAC Mini to a Belkin DVI to HDMI cable (also available from Apple Store) and c

  • Different Chapter sets on same track/story

    don't know if this question is asked before. I have a footage of a story with 30 chapters, & there are 7 songs within the footage. Song 1 is somewhere in chapter 2, Song 2 is in chapter 7 etc.. which to be access on a separated menu. After created a

  • Excise base amount for the material in J1IF01-Subcontracting Challan

    Dear Expert, we are facing problem while creating subcontracting challlan (J1IF01) ie assasable vlaue in material master is appearing as excise base amount in J1IF01. We want to take  latest excise invoice value for the material as excise base amount

  • CVD Credit in Bonded Warehouse Scenario

    Dear All, I have configured a STO scenario from Bonded Warehouse to manufacturing plant.  I want to avail the duty credit on CVD when I receive the goods in the manufacturing plant. Following is the process which I am following 1. Create STO with Sup

  • Multiple SQL Statements in Data Template

    If I have more than 1 sql statements in a data template, how can I target them directly? I would like to link directly to a report and don't want to use the default sql statement.