Element Link API - Default Location

Hello All,
I have been using PAY_ELEMENT_LINK_API for 2 years to create element links and it was working fine.
Now, when I create element links using this API, the location_id is set to default location of the link organization. I don't quite remember of facing such a problem before.
Did any1 face such a problem? If so, what was the workaround? (Other than manual entry!)
Regards,
Balu

Hi Shobhit,
You can use PAY_ELEMENT_LINK_API.UPDATE_ELEMENT_LINK API for your requirement.
You can refer below link as a reference:
http://tools.appsphor.com/wp-content/uploads/2013/04/PAY_ELEMENT_LINK_API_UPDATE_ELEMENT_LINK.html
Thanks,
Sanjay

Similar Messages

  • API error: Element link does not exist for the duration of the entry

    I am trying to create an element using the API_PAY_ELEMENT_ENTRY.CREATE_ELEMENT_ENTRY API
    While I am able to create many elements for years this way, for one particular non-recurring element I get the following error
    ORA-20001: Element link does not exist for the duration of the entry
    Cause: The link has been purged or date effectively deleted.
    Action: Check the effective start and end dates on the link definitions for this element.
    I have checked evertything and the Link is defined far before my element entry starts and with no end date. The assignment I want to attach this element entry is perfectly eligible.
    The weirdest is that I am able to create this element entry with the values I want and the dates I want through standard User interface...
    Any idea?
    Message was edited by:
    briard

    Here are the parameters I use in my call.
    DECLARE
    L_EFFECTIVE_START_DATE DATE;
    L_EFFECTIVE_END_DATE DATE;
    L_ELEMENT_ENTRY_ID NUMBER;
    L_OBJECT_VERSION_NUMBER NUMBER;
    L_WARNING BOOLEAN;
    BEGIN
    APPS.PAY_ELEMENT_ENTRY_API.CREATE_ELEMENT_ENTRY(
    P_EFFECTIVE_DATE => TO_DATE('01-JUL-2008','DD-MON-YYYY'),
    P_BUSINESS_GROUP_ID => 1,
    P_ASSIGNMENT_ID => 122147
    P_ELEMENT_LINK_ID => 233,
    P_ENTRY_TYPE => 'E',
    P_INPUT_VALUE_ID1 => 313,
    P_ENTRY_VALUE1 => 'T',
    P_INPUT_VALUE_ID2 => 314,
    P_ENTRY_VALUE2 => '5',
    -- out params
    P_EFFECTIVE_START_DATE => L_EFFECTIVE_START_DATE,
    P_EFFECTIVE_END_DATE => L_EFFECTIVE_END_DATE,
    P_ELEMENT_ENTRY_ID => L_ELEMENT_ENTRY_ID,
    P_OBJECT_VERSION_NUMBER => L_OBJECT_VERSION_NUMBER,
    P_CREATE_WARNING => L_WARNING);
    END;
    François

  • WBS Element and functional area/location

    Hi All Gurus here,
    Can a WBS element link to functional area/location(object in PM)? or the other way round, which functional area/location link to WBS element?
    Best Regards,
    Elvio

    Dear Elvio,
    Please go through the information in the link,reward if useful.
    http://projectsystems.wordpress.com/
    Regards,
    Naveen Dasari.

  • Urgent : Mass Upload of Element Links

    Hello,
    Can somebody pls suggest how to load Element links when it comes to mass upload?
    If the option is API then we would like to know how to pass people group segements as our link criteria is based on that.
    Regards,
    Gayatri

    This might help you
    People group is a KFF use this cursor to get the people group Id for you desired value. here we have are using just 2 segments
    SELECT people_group_id
    INTO v_people_group_id
    FROM pay_people_groups
    WHERE segment1 = TRIM (x_people_group_segment1)
    AND segment2 = TRIM (x_people_group_segment2)
    AND segment3 IS NULL;
    Pass this people group in the api hr_assignment_api.update_emp_asg_criteria
    Hope this helps
    Thanks,
    Nitin Singh
    Edited by: HRMS Consultant on Oct 26, 2009 12:56 PM

  • HRMS Payroll: Migrating Element Links between Environments/Instances

    Hi,
    I need to migrate element links between environments i.e, I need to move my element links from one instance to another.
    Apart from doing this manually or using dataloader, what are the other options/best practices that I can look at?
    Regards,
    Santhosh Jose

    We've previously done this successfully using Data Pump to process the migration of Element Types, Input Values, Extra Info and Links - once set up it works very smoothly, but it does require quite a bit of setup so I'd only advise using if you're migrating a lot of elements several times.
    Data Pump is just a set of tables and concurrent programs that wrap around Oracle API's for migration of data/setup.
    The setup involves getting data into these tables...
    Key tables are:
    hr_pump_batch_lines
    hr_pump_batch_headers
    hr_pump_batch_line_user_keys
    Using API's like:
    hrdpp_create_element_type.insert_batch_lines
    hrdpp_create_element_extra_inf.insert_batch_lines
    hrdpp_create_element_link.insert_batch_lines
    hrdpp_create_input_value.insert_batch_lines
    hrdpp_update_input_value.insert_batch_lines
    Conc Program: Data Pump Engine
    There should be plenty of documentation around the net and MoS about this if you want to have a read.
    Alternatively you can call the API's yourself.
    or, you can have a go with iSetup - we tested this briefly but didn't get too far with it, several quirky issues with loading Work Structure data so went back to using Data Pump.
    Regards, Jay

  • Premier Elements 12 auto-save location

    My daughter is working in Premier Elements 12 on a .mov file.  She did about 2 hours of movie editing and the program shut down unexpectedly.   The program was saving as she went, but she can not find her file.  Any ideas on where the program would put the auto-saved files?

    Cjenzo
    If she is working on Windows 7, 8, or 8.1 64 bit and installed everything to its default locations, the the AutoSaves will be saved in the path...and will be found in the Adobe Premiere Elements Auto-Save Folder at the end of the path
    Libraries
    Documents
    Adobe
    Premiere Elements
    12.0
    Adobe Premiere Elements Auto-Save
    http://help.adobe.com/en_US/premiereelements/using/WSA4213223-A072-483f-9A0A-B8A95742C2AE. html
    Please review and then let us know the outcome when you get the time.
    Thank you.
    ATR

  • Element Entry API

    Hi,
    I 'm loading data for element entry. Which API i have create first.
    ELEMENT_ENTRY_API or ELEMENT_LINK_API.
    First i did, element_entry_api. If is saying 'Element link doesn't exist.'
    When i'm trying to create element_link_api, it is saying 'This element link is not mutually exclusive.'
    Pl. Help. Thanks in advance.

    Hi Ram,
    Thanks to all for your suggestions. I did that corrections. I got the following error.
    ORA-20001: The assignment is not eligible for the element.
    You may not grant the element Mobile Allowance to assignment number 4287-3 on 07-JUN-08. The assignment is not eligible for the element on that date. Eligibility is determined by the element link. In order to be eligible, the link criteria must be met by the assignment at all times during the life of an element entry.Salary API.
    Thanks.

  • Changing iTunes Default Location to external drive

    Hello,
    I have a problem I cannot seem to fix. I moved my entire iTunes music library over to an external hard drive (via USB). Everything seemed to be good. The 7400 songs played from the new location and my iPod updated just dandy.
    But after a reboot of my computer when I try to play a song from my iTunes I get the message "the song could not be used because the original location could not be found. Would you like to locate it?"
    I can navigate back to the M drive (external drive) to find the file but I cannot do this for all 7400 songs. Why is iTunes constantly looking back at my C drive when I moved all the files out of the My Music folder over to the new drive? I have copied all the folders over to the new drive. I have uninstalled the old location and reinstalled iTunes but it is still looking to the C drive for the files. I am totally frustrated.
    Please help. Thanks, Brian
    Dell Latitude D600   Windows 2000  

    hi,
    oh i see. so i guess that would be the only way out at this moment. also would like to check if i would to follow ur process when disable that default location when adding movies, will the link stay in itunes? and when i enable the default back will there be any conflict if i would like to play movies as from my external? well, just wanna make sure there will be no conflicts.
    well, i would totally agree with ur suggestion that apple should really work on itunes if they would really support music as alot of music lovers would appreciate if someone were to write a script or apple itself would be able to make that happen. any ways to let apple know out feedback?

  • Can I move the default location of the iPhoto library to an external source, leaving a preview image on my main HDD? Do I need to move to something like Apature to do this?

    Can I move the default location of the iPhoto library to an external source, leaving a preview image on my main HDD?
    Do I need to move to something like Apature to do this?
    I currenlty have a NAS which holds all my images.

    Yes you can, but you really, really don't want to.
    You can store your photos on the External and have iPhoto link to them in that location. It's called having a Referenced Library.
    In this scenario iPhoto creates an alias to the files in the Library and that's why you don't want to do this. Aliases work fin when everything is on the same volume or disk. However, if the alias points to something on another disk or volume and something in the path to the file changes, then the alias is broken. That means you could find yourself fixing each alias for every single photo in your Library, one at a time if something goes wrong.
    And heaven forbid you would ever want to move the files to another disk.
    See why I say you really, really don't want to?
    Also note, that your edited photos would still be on the internal HD as they are always stored in the Library.
    Aperture, on the other hand, can deal with this scenario quite easily, and has tools to reconnect to the original should the link be broken
    Regards
    TD

  • Win-7 64bit: moving iTunes media folder from default location to D drive

    Dear all,
    I cannot move iTunes media folder from default location on C drive to D drive on win-7 64 bit.
    What I did was:
    - Under iTunes> Edit > Preferences > Advanced I choosed new location for iTunes media folder on D drive
    - Under iTunes > Library > Organize library > I choose consolidate fiels and then ok ( this should create a new library on new location )
    Next I delete iTunes media folder on C drive and hope that on re-start iTunes goes to new location on D drive and picks new file arrangement.
    But it does not happen - no matter what I do iTunes goes to its default location on C drive ....
    I called apple senior advisor - and she told me that it's kind of "my fault" I have windows7 installed on PC and because iTunes is Mac oriented they will not give me support... And referred me to Microsoft ... What a lousy support!. I paid for it $25!! What for?

    By the way, I followed instructions as per link http://support.apple.com/kb/ht1364 - it did not work either. Can anyone share their success stories ? My C drive is not big and my music library ~ 100gB - I really need to keep iTunes media files in another location ... not a default place under User Login

  • When i double click itunes it doesn't open it just comes up with an error saying " The itunes library.itl file cannot be found or created. The default location for this file is in the 'itunes' folder in the 'music' folder". How can i fix this?

    When i double click itunes it doesn't open it just comes up with an error saying " The itunes library.itl file cannot be found or created. The default location for this file is in the 'itunes' folder in the 'music' folder. How can i fix this problem?

    Anyone can help to advice how to solve this issue ?

  • ITunes library not in default location doesn't show up as shared library

    My iTunes library will not show up on my network as a shared library. It is not in the default location for Windows (Documents and Settings\<user>\My Documents\My Music\iTunes). I can find no reference anywhere that this should prevent a library from being seen by other iTunes users, yet that seems to be the case.
    I have two other iTunes libraries on computers on my local network. Both show up on each other's machines, so this isn't a firewall issue. All my machines are running the same level of Windows XP Pro.
    On one machine, I actually created a library in another location, then shared it. It was not visible. Once I recreated the library in the default location, it was again visible.
    Does anyone have a any ideas how I can troubleshoot this? I really don't want to copy/move what is now a very large library and there's nothing to indicate that this shouldn't work.
    Thanks!
    Michael Greis

    Normally all you need to do is copy the entire iTunes folder from <User's Music> on one computer to <User's Music> on the other. If you've made things more complicated see make a split library portable.
    tt2

  • When I try to open ITunes it brings up a box that says the iTunes Library. itl file cannot be found or created. the default location for this fie is in the itunes folder in the music folder How do I solve this

    My laptop was updating itunes and turned off and every since when i try to load itunes it brings up a window that says
    The itunes library.itl fie cannot be found or created. The default location for this fie is in the itunes folder in the Music folder.
    an I cant figure out what to do to get itunes to load so I can't use itunes at all which ***** since it also means I right now I can't add music to my ipod or apps or anything. So hopefully someone can tell me what happened and how to fix it or solve it

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

  • Getting error when trying to end date the element links

    When i am trying to end date the element link and i am getting a error message as ORA-01403: no data found if i click on the details button the following message is displayed:
    ORA-01403: no data found
    FRM-40735: ON-DELETE trigger raised unhandled exception ORA-01403.
    If i click on Ok button it bringgs another popup message that reads as follows:
    An Unexpected Error- 1403 has occured.An alert has been sent to the system administrator.
    ORA-01403: no data found
    I am really not getting why my link is not end dating.
    Could anyone advice me on how i can end date my element links.
    NB:the date track i am using is 01-DEC-2009 and no prayroll or quick pay has been processed as of this date

    Pl see if enabling an Forms Runtime Diagnostics (FRD) trace can help identify the cause
    MOS Doc 373548.1 - How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12
    MOS Doc 167635.1 - How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i
    HTH
    Srini

  • Changing the Default Location for Backups

    I've just downloaded PC Suite 6.81.13.0. How do I change the default location where backups are stored on my laptop? The default location stores the data in an location that is not compatible with my company network profile. I want to store the data in a different location, but I can't see any option to allow me specificy the location.

    You have to re-index your Library by dragging/dropping the main Library folder into the Loop browser.

Maybe you are looking for

  • Slideshow in Photoshop Elements 9 keeps crashing when I try to output it to movie file (wmv)

    Made a slideshow using Photoshop Elements 9 that keeps crashing when I try to output it to movie file (wmv). This message appear: Microsoft Visual C++ Runtime Error This is totally new to me as I have made a few slidshows before and saved them into w

  • Deleted/rejecterd clips not showing up in trash

    Ok now I understand that iMovie trash in acutally finder trash. But I do not see the clips I have been deleting in there. they are gone from the events display screen in imovie but they are not in trash. Also the space is not decreasing on HD. Does a

  • Does my all-in-one support more ram

    My questions are: 1.Does it support more ram 2.what type of ram(laptop, Desktop, Other) 3.Is my ram ddr3 or ddr2 idk

  • CKMLCP closing entry still open items

    Hi Gurus, Firstly we have WIPs. In the closing entry step we have 24 still open materials. We got the error message m8 147 "the account determination for key <chart of account name> PRM 1100  is not maintained " . I have checked the PRM acc assignmen

  • Zen Vision M album i

    I was just curious if anyone knew how to change the icon which appears next to the song title on the "now playing" screen. I have some mp3s that are shown with album art of completely different artists and it's really unfortunate to see, for instance