How to update costing under the Organization defination

dear,
We are on testing face, we have to update around 100 cost cener throug api but it's now being executed and raise an error.
What is the value to be passed for p_cost_allocation_id ?
ora-20001 hr_7220_invalid_primary_key
pay_cost_allocation_api.UPDATE_COST_ALLOCATION
(p_validate => false
,p_effective_date => to_date('01-APR-2013')
,p_datetrack_update_mode => 'CORRECTION'
,p_cost_allocation_id =>
,p_object_version_number => v_object_version_number
,p_proportion => hr_api.g_number
,p_segment1 => hr_api.g_varchar2
,p_segment2 => hr_api.g_varchar2
,p_segment3 => '52'
,p_segment4 => hr_api.g_varchar2
,p_segment5 => '635222'
,p_segment6 => hr_api.g_varchar2
,p_segment7 => hr_api.g_varchar2
,p_segment8 => hr_api.g_varchar2
,p_segment9 => hr_api.g_varchar2
,p_segment10 => hr_api.g_varchar2
,p_segment11 => hr_api.g_varchar2
,p_segment12 => hr_api.g_varchar2
,p_segment13 => hr_api.g_varchar2
,p_segment14 => hr_api.g_varchar2
,p_segment15 => hr_api.g_varchar2
,p_segment16 => hr_api.g_varchar2
,p_segment17 => hr_api.g_varchar2
,p_segment18 => hr_api.g_varchar2
,p_segment19 => hr_api.g_varchar2
,p_segment20 => hr_api.g_varchar2
,p_segment21 => hr_api.g_varchar2
,p_segment22 => hr_api.g_varchar2
,p_segment23 => hr_api.g_varchar2
,p_segment24 => hr_api.g_varchar2
,p_segment25 => hr_api.g_varchar2
,p_segment26 => hr_api.g_varchar2
,p_segment27 => hr_api.g_varchar2
,p_segment28 => hr_api.g_varchar2
,p_segment29 => hr_api.g_varchar2
,p_segment30 => hr_api.g_varchar2
,p_concat_segments => hr_api.g_varchar2
,p_request_id => hr_api.g_number
,p_program_application_id => hr_api.g_number
,p_program_id => hr_api.g_number
,p_program_update_date => hr_api.g_date
,p_combination_name =>v_combination_name -- out nocopy varchar2
,p_cost_allocation_keyflex_id =>v_cost_allocation_keyflex_id -- in out nocopy number
,p_effective_start_date =>v_effective_start_date -- out nocopy date
,p_effective_end_date =>v_effective_end_date -- out nocopy date
);

I'm not sure you have to do all that. Look at the api example below. you can see segment1 is company_gl_cod and segment3 is department gl code. So I think basically the gl codes should work. You can try the update_hr_organization procedure
HR_ORGANIZATION_API.create_hr_organization(
p_effective_date => p_effective_date,
p_business_group_id => p_business_group_id,
p_name => p_org_name,
p_date_from => p_effective_date,
p_location_id => v_location_id,
p_segment1 => to_char(p_company_gl_code),
p_segment3 => to_char(p_dep_gl_code),
-- either INT or EXT
p_internal_external_flag => 'INT',
-- from the ORG_TYPE lookup
p_type => p_org_type,
p_enabled_flag => 'Y',
-- out params
p_object_version_number_inf => v_object_version_number_inf,
p_object_version_number_org => v_object_version_number_org,
p_organization_id => v_organization_id,
p_org_information_id => v_org_information_id,
p_duplicate_org_warning => v_duplicate_org_warning
);

Similar Messages

  • Help with Adobe.premiere.elements12. Please It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos wi

    Help with Adobe.premiere.elements12. Please
    It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos within Elements.

    In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
    Once you've reached just new Imports of camera output, you'll be flying along.

  • How to update cost condition VPRS and Updation from VPRS to new cond ZVPR

    Hi All,
    How to do and is there any way to update the VPRS cost condition whenever vendor sends confirmation of material and cost after purchase order.
    After receiving the confirmation form the vendor,the VPRS cost condition should get updated in the system automatically.
    We have one cost condition type ZVPR which is same and consists of same properties of VPRS. How to update this ZVPR condition from VPRS Condition.
    Thanks in advance....
    Regards....Venkat
    Edited by: venkat t on Feb 16, 2009 11:57 AM

    Hi venkat
    Check the link
    [How to update cost condition VPRS and Updating from VPRS to new cond ZVPR;
    NOTE : Dont post in many forums
    Regards
    Srinath

  • How to update fields in the target table in correspondance with the source file values

    Environment: win7, SQL server 2008 R2
    Application: Microsoft Management SQL Studio 2008 R2, Business Intelligence 2008 - SSIS
    SSIS competency level: Novice
    Problem: I have been trying to update some of the fields in the destination table,student table, in reference to data set in the staging table and ssn table.  I was able to insert/load new data to the destination using look up transformation
    while the driver is ssn (data mapping) but i couldn't know how to update some of the fields in the student table while keeping the orignal pn_id of both tables(ssn and student tables), because pn_id already exists in the SSN table and student table. There
    are other records also associated with the pn_id so I am not allowed to update the pn_id in the destination tables. For example,
    SSN Table (pn_id,ssn)
    ('000616850',288258466)
    ('002160790',176268917)
    Staging Table (ssn, id, pn_id, name, subject, academic year, comments)
    (288258466, 1001, '770616858',Sally Johnson, English,A, 2005,'great student')
    (176268917, 1002, '192160792',Will Smith, Math,38000,C, 2014,'no comments')
    (444718562, 1003, '260518681',Mike Lira, Math,38000,B, 2013,'no comments')
    Student Table (destination table)(id,pn_id,subject,academic year, grade, comments):
    (1001, '000616850', ' ',' ', ,'')
    (1002, '002160790', ' ',' ', ,'')
    Expected Results:
    My goal is to have student table updated as the following:
    Student Table
    (1001, '000616850', 'English','A' ,2005 ,'great student')
    (1002, '002160790', 'Math ',' C',2014 ,'no comments')
    please advise

    Why can't you use simple UPDATE command in EXECUTE SQL Task as below,
    DROP TABLE SSN
    DROP TABLE STAGING
    DROP TABLE STUDENT
    CREATE TABLE SSN(pn_id VARCHAR(100),ssn BIGINT)
    INSERT INTO SSN VALUES('000616850',288258466)
    INSERT INTO SSN VALUES('002160790',176268917)
    CREATE TABLE Staging (ssn BIGINT, id INT, pn_id BIGINT, name VARCHAR(100), subject VARCHAR(100),grade VARCHAR(10), [academic year] INT, comments VARCHAR(100))
    INSERT INTO Staging VALUES(288258466, 1001, '770616858','Sally Johnson', 'English','A', 2005,'great student')
    INSERT INTO Staging VALUES(176268917, 1002, '192160792','Will Smith', 'Math','C', 2014,'no comments')
    INSERT INTO Staging VALUES(444718562, 1003, '260518681','Mike Lira', 'Math','B', 2013,'no comments')
    CREATE TABLE Student(id INT,pn_id BIGINT,subject VARCHAR(100), [academic year] INT, grade VARCHAR(10), comments VARCHAR(100) )
    INSERT INTO Student VALUES(1001, '000616850', NULL,NULL,NULL ,NULL)
    INSERT INTO Student VALUES(1002, '002160790', NULL,NULL,NULL ,NULL)
    UPDATE Student SET Subject = C.Subject, [academic year]=C.[academic year], grade=C.grade,comments=C.comments
    FROM SSN A INNER JOIN Student B
    ON A.pn_id=B.pn_id INNER JOIN Staging C
    ON A.ssn = C.ssn
    SELECT * FROM Student
    Regards, RSingh

  • How to update and insert the records without using Table_comparison and Map_operation?

    How to update and insert the records without using Table_comparison and Map_operation?

    Use either join or MERGE see this Inserting, Updating, and Deleting Data by Using MERGE

  • How to update firefox to the old version

    How to update firefox to the old version? currently I am using 24 version and i want to update it to old version 17. please suggest me.

    Hi,
    Is there a reason why you want to downgrade from a lower version to an even lower version? You can do the downgrade yourself but I won't tell you where to get the link to it as I'd be telling you to go back to a old and unsupported version of Firefox and also because the link is easily searchable.
    Feel free to use the old unsupported and insecure versions of Firefox. Please however remember that puts your System and personal data at an increased risk. You may then wish to mitigate that by having well rehearsed bare metal restore strategies or using a virtual machine.
    * See also [[Install an older version of Firefox]]

  • How to update iPhone if the software is corrupted

    please help me,
    how to update iPhone if the software is corrupted???

    amol rampurkar wrote:
    sill it is not happening..... showing same error.
    Do i have to take the backup or not?
    It would help if you told us what the "same error" is.

  • My iPad will not connect to the update section under the app store?

    My iPad will not connect to the update section under the app store I've tried everything what do I do?

    Can you download new apps? If you can, go to the App Store featured tab and do a search for one of the apps that tells you it needs an update. When the app appears in the search, tap on the app icon and the description window for the app will pop up. Try updating the app from there and see if that works.
    Have you tried rebooting your router? Unplug it from power for about 30 seconds and then plug it in again?
    Look at this article and see the section about the DNS settings on the iPad.
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/

  • How to update cost condition VPRS and Updating from VPRS to new cond ZVPR

    Hi All,
    How to do and is there any way to update the VPRS cost condition whenever vendor sends confirmation of material and cost after purchase order.
    After receiving the confirmation form the vendor,the VPRS cost condition should get updated in the system automatically.
    We have one cost condition type ZVPR which is same and consists of same properties of VPRS. How to update this ZVPR condition from VPRS Condition.
    Thanks in advance....
    Regards....VM

    we are finding funtional ways.

  • HT4623 I am trying to update my iPad 2 but as is shown in the update info it says that there should be an update button under the about tab. I don't have this option. What do I do now?

    I am trying to update my iPad 2 but I don't have the upgrade tab in my general list?

    You do not have iOS 5 on your iPad so you have to update by using a computer via the latest version of iTunes. You can connect the iPad to your computer and launch iTunes. Select the iPad on the left side under the devices heading. Click on the Summary Tab on the right. Click on Check for Update.
    After you update to iOS 5, you will have Software Update in you settings and can update via WiFi OTA.
    IOS 5: How to update to iOS 5.
    http://support.apple.com/kb/HT4972

  • In PSE 11 how to import photos to the organizer from the computer files and folders

    While using the restore function in PSE 11 (Windows 8), using a catalog backup from PSE 8 (Windows XP), a number of images could not be restored. To try to link to the images in their actual  location, I tried the following:
    1. I used the File Get function, browsed to the images and did a Get Media. Upon completion, the thumbnails automatically displayed in the organizer.
    2. For reasons I do not understand, the path, where these photos actually reside, displayed in a separate part of the tree view (just below the tree view created from the restore operation.) rather than in the restored tree view.
    I tried to drag them to the location where they should be, but that did not work.
    I noticed that when I did the get photos from files and folders, I saw no way to designate where the photos were to be linked to in the tree view. (Such as is the case when you get photos from a camera.)
    I tried to find instructions on how to get photos from files and folders, to see where I am going wrong but had no luck.
    Can anyone explain what is going wrong and how I can correct it?
    Thanks for your help.

    Thanks for your response. Based on my understanding of your comments I tried the following:
    1. In the main tree view, I deleted the sub-folder which should have contained the files that failed to restore (SF1). Then I dragged the sub-folder in the separate tree structure (SF2) to the  location SF1.  This did not work; I got the message: A folder with the same name already exists at the requested location. When I opened the folder containing SF1 and selected: Show all SubFolders, SF1 was not deleted.
    2. I then tried to drag the images in SF2 to SF1. This too did not work; the images stayed in SF2.
    3. In SF1, I right clicked and selected: Import Media. This did not work; I got the message: Nothing was imported. The file(s) or folder(s) selected to import did not contain any supported file types, or the files are already in the catalog.
    I have to assume that I either did not correctly understand your comments or that their is more at play than I realize. Could you explain why each of my attempts failed and what should I be doing to move folders, sub-folders and/or images within the organizer tree view?
    Thanks for your consideration.

  • How do I find "under the hood" in iPhoto

    I purchased duplicate finder and it asks me to access under the hood in Iphoto.I can not find under the hood .Help please

    I bought the Duplicate Finder app in Applestore I have tons of duplicate photos in IPhoto I run OSX 10.9.2
    I use IPhoto 9.5.1
    Here is the help page for Duplicate Finder app it tells me to go into the highlighted area below to run the app in IPhoto.I do not undestand how to get to the under the hood tab see bottom of the page
    Preferences
    The preferences window can be accessed from The Duplicate Finder menu. All options in Preferences have a description field, to describe its functionality. In case if you have questions related to detailed information about a specific option contact us.
    Search for duplicates in iPhoto
    To properly scan your iPhoto Library an option called "Scan duplicates in iPhoto" has to be enabled at the bottom of "Under the Hood" tab.
    This option forces The Duplicate Finder to analyze the meta information of iPhoto libraries and show only the actual duplicates within iPhoto. By removing iPhoto duplicates from The Duplicate Finder, iPhoto is launched and the items are moved to iPhoto's Trash. To permanently delete the items and free up your drive space the Trash of iPhoto needs to be emptied.
    Note: Only the removal of the currently active iPhoto library items are allowed. Warning messages are displayed for the selection of items inside inactive libraries.

  • IPhoto:How to update to use the DR API instead????

    Ahoy.
    While trying to figure out why safari keeps quitting on me, I found an answer to someone else, who was told to go into logs and I was floowing along, but I guess they are ahead of tiger- anwyay I did find this, and wonder, can I do as it suggests somehow?
    iPhoto: WARNING: The DiscRec SPI from the DiscRecording framework is deprecated in 10.3 and later.
    iPhoto: WARNING: This app is contributing to an overall degradation of system performance and should
    iPhoto: WARNING: be updated to use the DR API instead.
    iPhoto: WARNING: The DiscRec SPI from the DiscRecording framework is deprecated in 10.3 and later.
    iPhoto: WARNING: This app is contributing to an overall degradation of system performance and should
    iPhoto: WARNING: be updated to use the DR API instead.
    Fin

    BDAqua saved me a lot of typing.   It wasn't clear, though, if you just needed to vent or if you're wanting to address these issues (which will involve a lot of typing).
    One of the main ones you need to do before you do any installing or installing of Flash Player is deal with the disk that won't verify.  Basically you're working with a computer that doesn't know where all its files are.  The computer uses a directory to keep tack of them and your directory needs repairing.  If you don't repair it then you'll just end up losing files, and getting more problems with running the computer.  It's a little bit like never changing the oil in the car, or dealing with an oil leak when it happens.
    First, if at all possible make a backup of the drive in its present configuration.  If something goes wrong during repair attempts and makes things worse you will have a backup.  You will have to decide how to work this in the light of any present backups you may have, for example, a backup that may be a few days out of date.  In that case you may want to keep that one and make a second backup of this as they are now, though I realize people often don't have a lot of empty drives sitting around.
    Boot from the System Installer disc that came with your computer or is the one for the version you currently have on there, select language if applicable, choose utilities, run Disk Utility and verify (and repair if necessary) the drive. You can verify a drive from DU on your main drive while booted but I have found this can result in incorrect reporting of errors. To repair your drive you have to run it from a drive other than the boot drive anyway.
    Next, boot from your drive in [Safe Mode|http://docs.info.apple.com/article.html?artnum=107393] and repair permissions.  You can repair permissions while booted from the installer disc but this uses the permissions configuration on the installer disc which may be out of date if you have run any updates on your computer.  Booting your computer to Safe Mode restricts the number of things running on your computer while permissions are being run and does a bit of spring cleaning at the same time.
    +Reading+
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions 10.0-10.6|http://docs.info.apple.com/article.html?artnum=25751]
    "Try Disk Utility" (modified from [http://support.apple.com/kb/TS1417])
    1. Insert the Mac OS X Install disc that came with your computer (Edit: Do not use this disc if it is not the same general version as what you have currently on your computer, e.g. use a Tiger disc for a Tiger drive, not a Panther disc), then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    Then boot in Safe Mode, (holding Shift key down at bootup; takes longer to boot this way so be patient), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://support.apple.com/kb/HT1564]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    [Mac OS X 10.4, 10.5- Computer shuts down during Safe Boot|http://support.apple.com/kb/TA24054]
    There's some things Disk Utility won't repair (more often thatn not). In that case you need to use a tool such as Diskwarrio (probably #1 but only does this one thing), or TechTool Pro, or...

  • Issue on IPhone 4. All App Updates or New Install that I have tried to update go under the waiting mode and wont do anything

    I'm having an issue with downloading and updating apps on my iphone 4. It did not start immediately after updating to iOS 5.1. Just started a couple of days back and is driving me nuts. Any apps that I have tried to update or install new apps will go under the waiting mode and wont do anything. I've tried to delete some of them and re-installed but like the others have mentioned in other post the app installation again goes under waiting and nothing happens.
    I've checked my settings and I've tried several restarts on the phone but still no good.
    Any suggestions???

    Try this support document http://support.apple.com/kb/HT1808. You may have to do it more than once.

  • How did dust get under the screen?

    I bought a PB used about a month ago and it was in like new shape with the exception of one dead pixel that annoyed me. This is getting picky but now I noticed there is a piece of dust about an inch away from the dead pixel which really annoys me when I see those. I don't understand how a piece of dust got under the screen, I've had my ipod touch for over 2 years, in my lint filled pockets and it doesn't have any dust under the screen, just in the creases of where the glass ends. I've only had the PB a few weeks and when transporting it I have it in the cloth sleeve, and I clean it often, how could it have gotten in there, through the speaker grill? And could I use like an air compressor to blow it out or would that possible cause damage to it. I was going to buy the convertible case and a screen protector soon but still I don't see how that happens. Sorry for the dumb post but it is really annoying and I want to know if anyone else has had that happen or if it dust can be blown out.

    Thats too bad. I dont get how its getting under there, Im thinking probably through the speaker grills but I'm not sure, the dead pixel was annoying enough but if any more dust gets under there its going to be really annoying to see all that on the screen. I dont know if the one already in there might move to the edge so its not as noticeable or if it might work its way out over time, if more get under there though Id say the best solution would be to take the glass off, if its even possible on the PB, I dont know that much about them, I heard the battery isnt removable but I think that means user removable meaning a PB dealer could open and replace it. If it can be opened without a professional without scratching anything then maybe just taking the glass off will work but I'd only do that as a last resort. I'm starting to get more and more disappointing with the PB the dust, the battery life isnt what I hoped for it to be, and there are very few good apps. Maybe when the ipad 3 comes out I can get a cheap ipad one to fill in for where the PB lacks

Maybe you are looking for

  • Error when using the variable System::ErrorDescription

    HI All, When I try to use the variable System::ErrorDescription I get the following error: The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the pa

  • TS1559 I tried the official resolution for: "Wi-Fi settings grayed out or dim" but it didn't work. What do i do now?

    Restart your iOS device. Make sure that airplane mode is off by tapping Settings > Airplane Mode. Reset the network settings by tapping Settings > General > Reset > Reset Network Settings. This will reset all network settings, including Bluetooth pai

  • Patches info

    Presently our production box has SQL Server 2008, we want to upgrade it 2008r2. My question is  can we download and install patches 2008r2 apply on 2008 to make it 2008r2 is that possible. Or we need to buy new license for 2008r2? Thanks Rajesh

  • Dropping internet service over and over?

    I have a cable modem (with turbo upgrade) hooked to an airport extreme, with two airport expresses in the house set to extend the network. It's worked great for months, maybe a year, but over the last couple of weeks I've been losing my internet acce

  • Buying macbook from america

    i am looking at buying a macbook from america and getting my friend to send it out to me because it is a lot cheaper than buying it in australia. will there be any limitations if she buys it with her itunes account? and do you know of any taxes that