Looks like small data discrepancy in hr_api_transactions.transaction_document for Talent Management

Hi,
I have some problem with the XML data in transaction document for Talent Management
Unable to perform transaction on the record.
Cause: The record has deleted by another user
When checked manually from back end, there objectives (IDs) that are there in XML type, aren't there in per_objectives table. The error seems right.
My task now is to find how many cases(objectives) are there like this. Logic is, look for objectives (that are marked as Update/Delete) in XML and find the ID existing in per_objectives or not. I could make-up the SQL for listing all objectives as a table result as below:
  select
   extractvalue(VALUE(xx_row), '/ObjectiveEORow/Name') AS objective_name,
   extractvalue(VALUE(xx_row), '/ObjectiveEORow/ObjectiveId') oid
  from hr_api_transactions txn,
       TABLE(xmlsequence(extract(xmlparse(document txn.transaction_document wellformed),'/Transaction/TransCache/AM/TXN/EO/ObjectiveEORow'))) xx_row
  where extractvalue(xmlparse(document transaction_document wellformed),'/Transaction/TransCtx/TransactionRefId')  = '26308'
  and txn.transaction_id = 1946469;
Problem now is, to distinguish only the PS="3" (Delete) and PS="2"(Update) objectives. This table doesn;t show the PS attribute of the "ObjectiveEORow" node in XML.
               <ObjectiveEORow PS="3">
                  <ObjectiveId>1813772</ObjectiveId>
               </ObjectiveEORow>
Please help me in making the SQL show the XML attribute "PS" value for node "ObjectiveEORow".
regards,
Raj.

I could get the solution. Thanks everyone !
  select 'E'||ppf.employee_number employee_number,ppf.full_name,txn.transaction_document,txn.transaction_id, i.*
  from per_all_people_f         ppf,
      per_personal_scorecards  psc,
      hr_api_transactions      txn,
         xmltable('/Transaction/TransCache/AM/TXN/EO/ObjectiveEORow'
            passing xmltype(transaction_document)
            columns
             PS varchar2(800) path '@PS',
             oid  number      path 'ObjectiveId'
            ) i
    where txn.transaction_ref_table = 'PER_PERSONAL_SCORECARDS'
    and psc.scorecard_id = txn.transaction_ref_id
    and ppf.person_id = psc.person_id
    and trunc(sysdate) between ppf.effective_start_date and ppf.effective_end_date
    --and psc.plan_id = 146
    and i.ps in ('2','3')
    and ppf.employee_number in ('4018','5072','6389')
    and not exists (
       select 1
       from per_objectives o
       where o.objective_id = i.oid)
regards,
Rajkiran.

Similar Messages

  • Has anyone had any luck returning there iMac w/ Lion? I couldn't even reconnect back to the iternet tonight w/o restarting my new iMac....  Looks like folks have been having this problem for months

    Has anyone had any luck returning their iMac w/ Lion? I couldn't even reconnect back to the iternet tonight w/o restarting my new iMac....  Looks like folks have been having this problem for months & months .. The Apple tech told me that all I could do is wait for Apple to come up with a fix... Got a new router this week so that isnt' it.  Would I be better off w/o this until Apple gets their act together?  I downloaded the combo update 10.7.3 & it helped for about a day...  yesterday I still had to manually reset the connection but now it's resorting back to disconnectiong w/o fully going into sleep mode first.  Sorry to say this is a major lemon.  Help!

    Seems unfair... I thought I was probalby having a router problem...  got a new router this week. Thst's when we realized we have a computer problem.  My next door nieghbor got zero sleep staying up all night while trying to help us figure out what the problem could be. He said if it were him he would have returned the iMac / Lion.  Got the new iMac w/ Lion for Christmas but didn't realize until this week that Apple is the problem....  Hard to believe that Apple just has kept on selling this like ... oh  No problem!  Can't stay on the internet... but will sell you another one today!  I'm getting mad...  It's not every day we spend that kind of money on a computer .  & ALL they can give us is that LOUSY Lion combo update.  I can't even stay connected long enough to make a vitamin order with Puritan's Pride...  & then the disconnection wipes out my cart... so I have to  start over. When are they going to fix this!   'Not feeling very positive'.  I feel like Apple KNOWINGLY sold my husband a defective... system.  14 days... oh please...

  • Icloud keeps inserting fake calendar events and fake contacts - looks like test data

    In the last few days, meetings for someone in  Palo Alto and contacts with fake data [ (555) 555-xxxx ] have been showing up on my wife's iPhone.  It looks like Apple test data.
    Any ideas??

    Are you sure no one else is using the same iCloud account?  That would account for it (no pun intended).

  • Anyone else having reset loop issues with ipad or ipad mini after IOS 7.02 update ? Based on my research it looks like this release is a total disaster for a lot of users. Locking up phones and ipads. Hopefully 7.03 will fix this mess.

    My Ipad mini is in a constant reset loop since 7.02 upgrade. Did a full recover twice to Factory setting thru Itunes. That did not work. Any thoughts on this release and it's implications. Looks like many people are having the same issues.

    Hi gruhland,
    Thanks for your reply.  It sounds like your device is actually in a restart loop, which is different from the process of a soft reset.  Specifically, what I wanted you to try is this:
    Resetting your device
    If your device stops responding, you can reset it by pressing and holding both the Sleep/Wake and Home buttons for at least ten seconds, until the Apple logo appears.
    If resetting does not break the restart loop, it sounds like a different direction may be warranted here. Due to the nature of your issue you may find more assistance by using another one of Apple's support resources:
    http://www.apple.com/support/contact/
    Take care,
    - Ari

  • After i pulled a screen protector off my new ipad there were what look like small round bubbles on the actual screen. They do not go away.The protector was an Ikit one.

    After I pulled a screen protector off my new ipad I found round spots on the actual screen of the ipad which will not go away. The protector was an IKIT one.

    It's probably just dried solution from the application of the screen protector.  You can get some safe cleaning solutions for your iPad screen.  there's iClean, Monster has an iPad safe solution........

  • I just brought iMac OS x version 10.7,  when I try to run Scottrader Streaming quotes, it constantly locks and causes all the other windows frozen. please tell me what should I do, it looks like Apple iMac platform is not good for online trading. thanks

    I recently brought a iMac OS X version 10.7 PC, when I try to run Scott Trader real time streaming quotes, it contantly *****, and causes all other widowns frozen, please help me to resolve this problem, or i have to give up this PC and return it to the store....
    thanks

    I use e-trade and a couple of times, years back, I found them behind the Java updates.
    So, now I install new Java platforms on my backup disk and test the streaming data on that first because I know it will be over-written that evening with my nightly backup.
    Of course, since I began doing that there hasn't been a problem. Do the same with printer driver updates.
    Anyway, call ScottTrade and howl! Tell them how many Macs are out there and why aren't they in Apple Developers Program?

  • PC crash... getinng back an InDesign CS6 version, which was an upgrade from a CS3 product... looks like the serial number I have is for the initial CS3

    I had InDesign CS3... which I upgraded in 2012 to CS6... two days ago my PC crashed... and I need to reload InDesign... I downloaded from Adobe.com InDesign CS6... but when entering my serial number, I got a message saying that my serial n° is valid but that there is no eligible product on my PC... I suspect that my serial n° is related to the initial C3 version I had bought... I guess that I could download CS3 from Adobe.com... and use my serial number... but how I do get back my CS6 upgrade? Thanks a million for any hlep!!!!!!!!!!!!!!!

    OK, here is the situation:
    * I am an Adobe customer
    * I bought in 2008 CSInDesign CS3 and I have the serial n° [removed by moderator] in my Adobe account (shows as Adobe InDesign, version = CS3, platform = Win)
    * In 2012, I upgraded my CS3 to CS6 and I have a serial n° [removed by moderator] for that in my Adobe account (shows as Adobe InDesign, version = 8.0, platform = Win)
    After my PC crash, I downloaded InDesign CS6 and use my serial n° of 2012. It doesn't work, as it says my product is not eligible.
    So, here is where I stand now...
    * I downloaded CS3 and used my serial n° for InDesign CS3. It works. I now have CS3 on my PC
    * How do I get back my 'upgrade from CS3 to CS6?
    * I have the serial number for that upgrage and I guess I need to download an "upgrade" file somewhere from Adobe. But I cannot find it, I found pages with upgrades, but there are so many different files, I do not have a clue which one to use;
    This is now my key question... can someone give me the link to access the file(s) I have to download to upgrade my InDesign CS3 version to InDesign CS6

  • Master data templates for Talent management

    Dear All,
    Please let me know  if someone can provide me with templates for PD.
    We are in the midst of an implementation and the employee nos are huge.
    It would take a long time for the client to complete the talent architecture and hence do not want to miss any column when I provide them with the templates.
    Templates are required for,
    1. Qualification catalog, Qualification Upload
    2. For creating Requirement profile at job and position level.
    3. For creating Skill profile at employee level and grading them
    4.Career and Development plans.
    Anything else if I have missed....
    Thanks for your help.
    Regards,
    Rijuraj

    hi
    I think thee is no seprate master data template...
    WM will use MM and SD ( customer master) master datas.
    regards
    4777

  • My mouse preference pane does not look like Apple's

    Hi all.
    Just bought the Magic Mouse, and I like it. Would like to do some fine-tuning, though. On the apple.com there's a movie about the mouse, with a shot of the pref pane for mouse settings. It looks like this:
    Mine does not. It looks like this, with much less options (sorry for the Swedish language, but I think you get the point):
    What am I missing? I have the latest system (10.7.4). The apple.com it says that I need Wireless Mouse Software Update 1.0, so I tried Software Update but it says I'm up to date on everything.

    Exactly. Secondary click is on, but locked to ctrl+click. I would like to modify this. The apple.com screen shot looks like it offers that option, but I might be wrong.
    I ran my old Logitech through SteerMouse, which offers a world of options. Apple stuff usually don't need to, since they're right from the start, but in this case I'd really like some more options.

  • The dropdown menu and source list look like strange characters

    I don't think this is the chinese letters people were talking about, it looks like small boxes and computer type language. Teh songs appear normal in lists. Any ideas?

    Yeah, you could try deleting QuickTime then iTunes and reinstalling.
    Or you could try resetting the itunes preferences file, not sure it will work though...directions for that are here.
    http://discussions.apple.com/message.jspa?messageID=607357

  • Does anyone know what the partitions look like after installing boot camp on a 3T fusion drive

    I installed a boot camp partition on a 3T fusion drive.  Running disk utility afterward it looks like this.
    Is this what it should look like?  I understand about the need for bootcamp to create 2 physical drives in core storage in order to install boot camp on a 3T fusion drive but should I see both drives after it is done?

  • Graph control right-hand Y-axis tick marks look like negative signs

    Hi,
    The graph control right-hand Y-axis tick marks just to the left of the numeric values that make up the scale look like negative signs.  It gets confusing for the user of the software.
    The left Y-axis is OK because the little tick marks are to the right of the number.
    Any ideas on how to improve this situation?
    Thanks,
    Kirk Mitchell
    Project Engineer
    Kollmorgen

    Perry,
    First of all thanks for looking at this.
    The tick-marks controlled by the "Mark Origin" option are not the tick marks that are causing the problem.
    The Mark Origin ticks are in the body of the graph along the x=0 and y=0 lines.  They only show up if those lines are visible such as if you have a graph with an x axis range of -100 to +100 and a y axis range of the same.
    The ticks I'm referring to are just to the left of the numeric values that label the right axis.
    Below is a screenshot to illustrate:
    Any other ideas?
    Thanks,
    Kirk

  • How to make a textblock's background look like translucent, frosted glass

    Hey,
    I use a lot of textblocks with black letters on a white ground. I would like to make the ground translucent, but when I set the transparency to lower than 100%, the background of my textblocks becomes dark and grayish, instead of white translucent. I've tried everything I could find, but still cannot turn the background to look like (white) frosted glass.
    Thank you for your input,
    Mike

    I just tried this, and it seems to work:
    1. Googled for and found an image of "frosted glass"
    2. Dragged it to my desktop (= copied it to there)
    3. Opened the resultant .jpg file with Graphic Converter, which, in the "choose the image you want to open" scroll box, but before I actually opened the image, I set to "Create Preview" (you can see this happen in the scroll box)
    4. Opened, saved, and closed the image, which was now on my desktop looking like a little square of frosted glass.
    And now, in KN:
    1. Made a text box, with text.
    2. Used "Image fill" to get the image I'd made from the desktop.
    3. Set the image fill to "Scale to fill", which it did nicely.
    You can now (probably) do all the things to the text box which can usually be done. You might even be able to set this as your default text box background, but I didn't try it myself.
    Hope this helps.

  • I have downloaded FF5 - BUT, the browser window doesnt look like FF5....?

    Hi
    I have downloaded FF5 - however, the browser doesnt look like version 5 - it still looks like the previous version browser window. For example, I dont have the new style orange button on the top left. Under "Help" it states version 5 - it just doesnt look like it.
    I have downloaded version 5 on my home machine, so I know what to expect.
    Can anyone advise me?

    ''I have downloaded FF5 - however, the browser doesnt look like version 5 :''
    That is because you are on Windows XP your settings weren't messed up by default. In the future you will have to use "Alt" to see the menus, or use the "Firefox: button which puts the menu in two columns.
    View > (check) Tabs on Top
    :View > Toolbars > (uncheck) Menu Bar
    Whether you make changes or not read the following to understand what was changed, and what you have to do, such as use right-click on the Back/Forward button to see history, or how to get back your previous session under history.
    You can make Firefox '''Firefox 5.0''' look like Firefox 3.6.18, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 5.0, or 4.0.1, look like 3.6)].

  • I am having a problem with pop pups and small windows with ads constantly opening up on my safari?? Thought that macs didn't get virus? this looks like one- any experts around? please help me fix it with your instructions? really don't know what to do...

    Hi everyone,
    I am having a problem with my Mac OS X 10.7.5 mac book air , there are constant pop pups and small windows with ads blinking constantly opening up on my safari in front of everything?? it is constantly interupting me and makes me mistakingly click on it then another new windows open behind the one im using..
    I am not too sure if thats a virus or trojan.. I always thought that macs didn't get virus? this looks like one to me… any experts around? please help me fix it with your instructions? really don't know what to do... thanks

    Those are not viruses. You have probably installed some malware:
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

Maybe you are looking for