HR_7155_OBJECT_INVALID

I need to use the PAY_ELEMENT_ENTRY_API.update_element_entry
I'm getting the error HR_7155_OBJECT_INVALID from the information in metalink, need to reference the object version number on the pay_element_entries table. I am doing that, I know the value is being passed to the procedure.
SELECT DISTINCT pel.element_link_id, pee.OBJECT_VERSION_NUMBER is 1 INTO x_element_link_id_awd, x_ele_object_version_number_aw FROM pay_element_types_f pet,
pay_element_links_f pel,
pay_element_entries_f pee, per_all_assignments_f paaf,
per_all_people_f papf
WHERE pee.element_link_id = pel.element_link_id
AND pel.element_type_id = pet.element_type_id
AND paaf.assignment_id = pee.assignment_id
AND papf.person_id = paaf.person_id
AND pet.element_name = 'Exceptional Performer Award'
AND sysdate BETWEEN pee.effective_start_date AND pee.effective_end_date
AND sysdate BETWEEN pel.effective_start_date AND pel.effective_end_date
AND sysdate BETWEEN pet.effective_start_date AND pet.effective_end_date
AND sysdate BETWEEN paaf.effective_start_date AND paaf.effective_end_date
AND sysdate BETWEEN papf.effective_start_date AND papf.effective_end_date
AND paaf.assignment_id = c_staging.assignment_id
AND papf.person_id = c_staging.person_id;
Calll
DBMS_OUTPUT.PUT_LINE('OVN '||x_ele_object_version_number_aw); -- Reutrns 1
PAY_ELEMENT_ENTRY_API.update_element_entry
(p_validate => true
,p_datetrack_update_mode => 'CORRECTION'
,p_effective_date => c_staging.EP_EFFECTIVE_DATE
,p_business_group_id => c_staging.business_group_id
,p_element_entry_id => x_element_link_id_awd
,p_object_version_number => x_ele_object_version_number_aw
,p_input_value_id1 => x_input_value_award
,p_input_value_id2 => x_input_value_award_date
,p_input_value_id3 => x_input_value_paid_date
,p_entry_value1 => c_staging.EXCEP_PERF_BONUS
,p_entry_value2 => fnd_date.date_to_canonical(c_staging.EP_AWARD_DATE)
,p_entry_value3 => fnd_date.date_to_canonical(c_staging.EP_DATE_PAID)
,p_override_user_ent_chk => 'N'
,p_effective_start_date => x_eff_start_date_out_award
,p_effective_end_date => x_eff_end_date_out_award
,p_update_warning => x_create_warn_out_award
What else could cause this issue?
Edited by: 859919 on May 25, 2011 10:03 AM

What is your application release? And, what is the document you are referring to?
Have you reviewed these docs?
HR_7155_OBJECT_INVALID ORA-20001 Running Pay_element_entry_api [ID 352495.1]
How To Diagnose The Error APP-PAY-07155 or ORA-20001: HR_7155_OBJECT_INVALID The HR Object Is Invalid [ID 417281.1]
Thanks,
Hussein

Similar Messages

Maybe you are looking for

  • DVD drive no longer supports as many media types

    Hey guys I recently had a serious problem with my MacBook Pro, only solution was to back my stuff up and do a fresh install and start all over again. Everything went fine, but I noticed just now in the system profiler, that my optical drive (MATSHITA

  • How do I add attachments to a Captivate 7 eLearn?

    Articulate has an Attachments button in the player window.  In Captivate 7 -   I want the user to click a button and the attachments window appears for them to download a document/PDF. I can not find anything in Captivate to add that into the eLearn.

  • VID Usage or MFX value in Afterburner 3.01 for Nvidia 670/Q6600

    Where does one find a definition of the MFX "VID Usage" feature in the Nvidia 670 graphics card which Afterburner 3.01 graphs ? This seems to turn on when Windows Media Center is displaying a TV picture in //Q6600//Windows 7 64//.

  • Which Laptop is better? HP DV7-4177NR OR DV7-6B55DX​?

    Okay I need to buy a new laptop ASAP! Can you guys help me and tell me which one is better? Both laptops are refurbished. DV7 4177NR :http://www.ebay.com/itm/HP-PAVILION-DV7-4177NR-AMD​-PHENOM-II-DUAL-CORE-N640-2-9GHZ-/170872977978?pt=​... DV7-6B55DX

  • Provisional auto reversal entry

    Dear Friends, Can any one please update about the auto reversal entry. How to config the reversal entry in the system. Client need to pass the reversal entry in end of the month and same to be reverse first day of next month. Thanks in advance. Thank