Issue hr_location_api.create_location : ID logistic organization not valid

Hello,
I'm trying to create some HR location by the appropriate API.
Some are already created and used in our configuration. But as for some other, we need to interface them from another system, we have to complete the list with a interface program.
I made a test according to the existing location but I have an error. Here is the code :
SET ECHO ON
SET SERVEROUTPUT ON SIZE 1000000
DECLARE
Id_Depot hr_locations_all.location_id%TYPE;
Ve_Depot hr_locations_all.object_version_number%TYPE;
BEGIN
hr_location_api.create_location (
p_validate => TRUE, -- True = Test, avec ROLLBACK
p_effective_date => SYSDATE,
p_language_code => NULL,
p_location_code => 'BATS3FR', -- Code BA
p_description => 'Sourcing Test API Création Dépôt', -- Description
p_timezone_code => NULL,
p_tp_header_id => NULL,
p_ece_tp_location_code => 'TST', -- Code EDI
p_address_line_1 => 'Adresse 1', -- Adr rue ou ligne 1
p_address_line_2 => 'Adresse 2', -- Adr compl ou ligne 2
p_address_line_3 => NULL,
p_bill_to_site_flag => 'N', -- Site de facturation = 'N'
p_country => 'FR', -- ==> !! <== -- Gestion code ISO pour la BIO
p_designated_receiver_id => NULL,
p_in_organization_flag => 'N', -- site interne = 'N', Adresses EDI externes
p_inactive_date => NULL,
p_operating_unit_id => 101, -- OU_FAGORBRANDT
p_inventory_organization_id => 125, -- ASO -- PB avec 125
p_office_site_flag => 'N', -- Bureau = 'N'
-- p_postal_code = '92000', -- Adr Code postal (pb de déclaration ?)
p_receiving_site_flag => 'Y', -- Site de réception = 'Y'
p_region_1 => NULL,
p_region_2 => NULL,
p_region_3 => NULL,
p_ship_to_location_id => NULL, -- Lieu de livraison, par défaut = location_id
p_ship_to_site_flag => 'Y', -- Site de livraison = 'Y'
p_style => 'FR_GLB', -- Adr Format (France International)
p_tax_name => NULL,
p_telephone_number_1 => NULL,
p_telephone_number_2 => NULL,
p_telephone_number_3 => NULL,
p_town_or_city => 'VILLE', -- Adr Ville
p_business_group_id => NULL, -- Lieu global
p_location_id => Id_Depot,
p_object_version_number => Ve_Depot
DBMS_OUTPUT.Put_Line ('MSG : Id = ' || Id_Depot || ', version = ' || NVL(Ve_Depot, 0) );
END;
show errors;
And I have the following result :
Rapport d'erreur :
ORA-20001: ID organisation logistique non valide.
ORA-06512: à "APPS.HR_LOCATION_API", ligne 468
ORA-06512: à ligne 6
If I try to remove the value 125 in the parameter p_inventory_organization_id, the creation is OK, but I cannot see the location in the GUI, and moreover, I want this place to be linked to my org, which exists and which is set as a logistic org. All location created manually in Oracle are linked to this org.
If you have any idea please don't hesitate to answer
Regards,
Xavier
Edited by: Xavier Vlieghe on 22 janv. 2010 14:45

Pl see if MOS Doc 367374.1 (Error on Hr_location_api Update Inventory_organization_id ORA-20001: Invalid Inventory Organization ID) can help in your case
HTH
Srini

Similar Messages

  • Issue when installing SQL Server Express 2012 - "The requested control is not valid for this service" + "Could not find the database engine startup handle"

    Good morning,
    I'm experiencing the following issue when installing Microsoft SQL Server Express 2012 (with tools, SQLEXPRWT_x86_ENU.exe) on the laptop of my company;
    Installation goes plain until around the end of the progress bar, it stops on the setup of
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    I've put in my SkyDrive the error log I received after the install;
    I'm at full disposal if you need further information,
    thank you in advance
    Best regards
    Francesco

    Well, i just ran into this issue and the problem was lack of admin rights. It was my company's laptop so got the setup initiated by my company's IT team with admin rights. However, the upon completion of setup, i go the same error messages as stated above: 
    SqlEngineDBStartConfigAction_install_configrc_Cpu32
    giving 7-8 times, even pressing "Cancel", the message "The requested control is not valid for this service";
    After this, I receive one last message ""Could not find the database engine startup handle", then installation ends with failures, in particular the Database Engine and the Server Replication failed to be installed.
    Also, if you open SQL Server Configuration, the status of the service is "Change Pending" and you would not be able to set the startup login type to Local Service/System/Network.
    Then, I just got my account added as Local Admin and then tried to start the service and was able to.
    However, I am not sure whether same was the case for you.
    Please mark the answer as helpful if i have answered your query. Thanks and Regards, Kartar Rana

  • Issue installing ITunes : error key not valid for use in specified state

    On the latest update for iTunes for Windows the updated couldn't complete as it gave me the following message " key not valid for use in specified state". I then completly uninstalled iTunes and its components in the order advised, rebooted my system, ran the latest ITunes setup and still get the message " key not valid for use in specified state".
    I have checked all the directories to ensure no remnants.
    Any one got an answer to this issue as I no longer have access to ITunes. I have a Laptop running Windows Vista Business
    Thanks,
    Stones of Gold

    It seems we may have a more targeted solution. Based on posts in the thread  key not valid for use in specified state I've just added the following to the user tip.
    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    tt2

  • Issue activating CS 5.5 Design Premium. Serial Number Not Valid but has been used for 4 years.

    I have just deactivated CS 5.5 on my old iMac, when i try to use the same serial number when installing it on my new Mac it tells me that 'the serial number is not valid for this product'. Any ideas?

    Hi Jack,
    It looks like this document will help resolve your issue: https://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
    Let us know how it goes!
    Thanks,
    Madison

  • Flash builder 4.7 upgrade issue from Flash builder 4.5 (key is not valid)

    Hi,
          We (Company) are buying Adobe products more than 6-7 years now. We bought the Flash builder premium 4.5 and Flash builder premium 4.5 for PHP volume licence. Now flash builder 4.7 should be complementary upgrade for us. But when we are using Flash builder 4.7 trial version and adding serial number (Flash builder 4.5 serial number), it's just not working and showing a error "key is not valid".
    I chat with Adobe customer care 4 different people, they end up saying that let us transfer you to volume licence department and then chat ended. No more chat messages, I checked more than one hour and still no message.
    Then I called they, it took 15 mins to connect with customer care. I picked the "upgrade" option from phone menu and then connected with a guy. After listening complete case he forwarded my call to Volume licence executive and the volume licence executive transferred it to some other guy and the other guy redirect it to some specialized person. So total 4 guys. The last guy (specialized) name was Rohit.
    This guy Rohit asked me, did I buy a customer support programme (some product about $2.nn.00 )? I said no, we bought volume licenses for Flash builder premium 4.5 ( about $4000.00 ****). He said, sorry sir I can not help you in this, but I can provide you an e-mail address and you can report your concern there. I already passed my 1.5 hour in this conversation. I said okie. He gave me a case number and told me that he will send a email mentioning that email address as per my request I disconnect the phone.
    I never get that email address.
    Can some one suggest me what to do next. My case number is : 209-788-274.
    My email is: [email protected]
    Thanks,
    Amitabh Arya

    I have the same problem, and i have send request complementary upgrade (Adobe® Flash® Builder® 4.7 Complimentary Upgrade), and only received a Acrobat change licensed...
    I´m working with 4.7 Beta the last mounths, and now all the days have to see "please enter your license". So one problem that you can jump with money (if you have that money..), isn´t a problem. Like a i have license from flex 3, upgrade to flex 4, and upgrade to flex 4.5, i´m going to take de upgrade from 4 standard to 4.7 standard (47,97 euros), and not waste my time and money on calls. So yes, I'll see adobe with another eyes...
    Best regards,
    José Ramón León

  • Crystal Reports 2011 Installation Issue, key code not valid

    Folks,
    We have just purchased two licenses for the Crystal 2011 upgrade from DigitalRiver.  The installation completes successfully, using one of the two "digital rights" keys that were provided in the confirmation email from DigitalRiver.
    Upon launching Crystal Reports 2011 for the first time, though, we are being prompted with a License Manager window asking to add a key code for Crystal Reports.  We enter the "digital rights" key provided by DigitalRiver, the same one used during the installation [copy and pasted from the email for accuracy] and receive the error message "The key code you just typed is not valid, please try again."
    Canceling this window or clicking Ok simply closes the Crystal Reports application.
    Any assistance in how to get the application running would be helpful.
    Tested Environments:
    Windows 7 Professional SP1, 32bit
    Visual Studio 2010 w/ CR for Visual Studio 2010 installed
    Windows Server 2008 R2, 64bit
    Thanks,
    Jeff

    Follow-up:
    We went through several iterations of installation and finally decided to mix things up to see if we could get a different response from the software.  The items that we performed differently were as follows:
    1.  Ran the setup.exe as administrator [even though we have full admin access as the logged in user]
    2.  Hand typed the digital rights key rather than cut/paste from the email
    3.  Performed a custom installation rather than the default and de-selected all of the SAP and other software integration options.
    The software ran fine without prompting with the License Manager.
    My guess is that it was the removal of the integration pieces that allowed the application to run.  We'll perform our next install with just that change and see if it is the culprit.
    Jeff

  • Index entry error: "The number of Page or Paragraph is not valid."

    I've done plenty of indexes in InDesign, and never seen this.
    After having worked on this index for several days, using plenty of ‘To next use of style’ references, many those references (but not all) have now suddenly reverted to current-page references. When I open the entry and try to change it, or even just click OK with current page selected, I get an error "The number of Page or Paragraph is not valid."
    Has anyone got any idea what causes this and how it can be cured?

    The Cost_of_sales_account & Sales_account as defined in the MTL_PARAMETERS are different from those in MTL_SYSTEM_ITEMS_B for the corresponding item. The values for these accounts in the interface tables are same as that in the MTL_SYSTEM_ITEMS_B table and hence not same as those defined in MTL_PARAMETERS.
    Actually we have a Custom trigger on the MTL_SYSTEM_ITEMS_B table which updates these accounts, once the item is created in the Master Organization.
    To verify this issue, I updated the accounts on the MTL_SYSTEM_ITEMS_INTERFACE table to match with that of MTL_PARAMETERS. Ran the 'Item Import', now those records are processed.
    Does this means that, the Interface is validating the cost_of_sales_account & sales_account to match with that of the 'Organization' ??.
    But we never had this issue in 11i. Is this a part of R12??

  • Persona not validated in signature

    Good afternoon!
    So I'm having an issue with a digital signature for one of our personnel and this is apparently the way to get support.
    We are having issues with people rejecting her digital signature because on the right hand side it says persona not validated.. Is there a way to make that go away, so that the persona is validated? I believe I have checked all my revocations and trusts and everything appears fine but doesn't mean I didn't miss something..
    We are using Adobe Acrobat Standard 11
    Debbie test.png - Google Drive

    Hi kihomachelpdesk,
    TSN is correct, this is not tech support, but in this one case you've have gotten a hold of Adobe anyways. 
    The name that you see in the textual portion of the digital signature appearance (the right half of the signature field) is the value of the CN (common name) entry in the Subject extension of the digital ID used to create the digital signature. You need to procure for Ms. Leonard a digital ID from Symantec with a less frightening set of entries in the Subject name. Note that the OU (organizational unit) also says "Persona Not Validated" along with the CN entry. One of the tenets of using a "trusted third-party" to supply the digital ID is it's their job it to have vetted the identity of the end-user to whom they are issuing the digital ID. That way the document recipient (who must physically trust the Symantec Root CA certificate in order for the signature to be valid) is assured the signer is who they say they are (it's known as non-repudiation). My guess is Ms. Leonard obtained a test (or sample) digital ID form Symantec and since Symantec gives those away they don't bother with the identity vetting procedure like they do with digital IDs that are paid for. Since they aren't doing any identity verification they add the "Persona Not Validated" text so the document recipient isn't fooled into the believing the signer is someone that they are not.
    As an aside, you can also make the graphics portion of the signature appearance (the left half of the signature field) look a bit better if you make the background of the signature appearance file transparent (aka removing all background opacity). That way the background won't obliterate the trefoil logo. And if you really want to get fancy you can replace the trefoil with your own company logo.
    Steve

  • Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Driver not valid for HP Pavilion dv6t

    Need to update my Intel HD Graphic driver.
    Tried HP and Intel and both are stating that the driver being installed is not validated for this computer. Please obtain the appropriate driver from the computer manufacture. Set up will exit.
    Can anyone help? TY

    @ls1313 ,
    Hello and thank you for posting on the HP support forums.  Here is the link to the only supported drivers for your notebook.
    HP Pavilion dv6t-3000 CTO Entertainment Notebook PC
    I hope this helps.
    Have a great day and thank you for posting.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Outlook 2013 - Password change breaks S/MIME Certs "An error occurred in the underlying security system. Key not valid for us in specified state."

    AD password change comes up, user changes password.
    Tries to send signed or encrypted email with a Comodo S/MIME certificate, and gets the following error:
    ""An error occurred in the underlying security system.  Key not valid for us in specified state."
    I now have two reports of this error - one on Windows 7, and one on Windows 8.0 (remote user).
    The one on Windows 8.0, we tried removing their S/MIME cert from Outlook/Windows and re-adding, this did NOT resolve the issue.
    Plan was originally to have the 8.0 user ship their machine in, and wipe it, since nothing else could fix it and I wasn't finding anyone else with the same issue.  Now that I've got a second user with the same issue, its looking like a bug/issue and
    not a random glitch.
    Thanks in advance for any and all help with this!

    Hi,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • I am trying  to install CS3 on Windows 8 and keep getting a message saying "the serial number I entered is not valid please enter it again" Does anyone know how to install successfully on Windows 8?

    I am trying  to install CS3 on Windows 8 and keep getting a message saying "the serial number I entered is not valid please enter it again" Does anyone know how to install successfully on Windows 8?

    CS3 is unsupported under Windows 8. That said, you'll need to contact Adobe
    directly for serial number issues.

  • The URL is not valid and cannot be loaded

    seems like maybe firefox mishandles untrusted certificates?
    It gives error: Alert The URL is not valid and cannot be loaded.
    example:
    https://notes.corp.cat.com/
    other browsers can load this URL just fine. When I visit it in Firefox, I get the error in a simple little message box with a yellow triangle exclamation point, titled "Alert".
    ALSO.... when I click the "Home" button in firefox, I get the error, and the home page does not load. Currently the home page is set to "Mozilla Firefox Start Page."
    changing the home page to: http://www.google.com/ allows the home page button to work normally.
    restoring the home page to default brings the error behavior back when clicking the home button.
    changing the home page to: https://notes.corp.cat.com/ produces the same error, just like when I manually type in an https URL with a funky security certificate.
    This problem only seems to happen on secure URLs with untrusted certificates, i.e. sites that are too cheap to pay to have their certificate registered with one of the certificate vendors or however the hell that works, so as a result every time you visit their web site, your browser starts to whine that it might be a forgery or whatever.
    It used to be in Firefox that I could load these pages and just specify that I want to trust the site anyway. Now firefox gives this error that doesn't allow the user to know what is really going on or what the reason for the error is. It is as if the developers decided that users are too stupid to decide if they really want to visit the site or not, so as a result Firefox is just refusing to visit any web sites where the authenticity of the certificate can't be verified? Hey, it's not a bad idea, to be honest. :-) But it's kind of annoying, because here I am, sort of smart enough to know what I'm doing, but I don't have the choice in the matter...
    I restarted with all add-ons disabled and that didn't help. I don't have much installled in the way of add-ons anyway. All I have is JAVA quick starter 1.0, and Adobe Acrobat, Java development toolkit, Java platform SE, Microsoft DRM, and Windows Media Player Plug-in Dynamic Link Library. Not even Flash. All the above is disabled now that I rebooted with add-ons disabled, and I still have the issue.
    thanks for any help you can provide.

    Please [https://bugzilla.mozilla.org/show_bug.cgi?id=713167 see this.] Installing [https://www.microsoft.com/download/en/details.aspx?id=5638 Visual C++ 2005 SP1] or the .Net Framework 3.5 SP1 may help mitigate the issue.

  • The data source "....." referenced in the form template is not valid or cannot be found

    Greetings,
    I have an InfoPath 2013 form that uses an external data connection.  The data connection became corrupt (somehow, no one knows who changed what).  A user went in to InfoPath designer and created a new data connection and changed all references
    to use that new data connection.  Now the form cannot be published at all with the error
    "The data source "GetUserProfileByName" referenced in the form template is not valid or cannot be found"
    The new data source they created is GetUserProfileByName2 and changed all references.
    Of course, since it is broke, they asked me to see if I can find the issue.  I went through the form looking to see if they missed any references to the old data connection and can't find anything.
    Where is InfoPath storing the old data connection information and where can I remote it?  I looked in the manifest and don't see it there either.
    Any thoughts?
    Thank you!

    Hi Bob,
    There are many XML schema files for the data connection, I recommend to check if the references to the XML files have been changed to the new schema files in the manifest file.
    For example, if we create a data connection called GetUserProfileByName, then there will be one XML file and three XML schema files for the data connection.
    Please make sure that all the references are updated in the manifest file.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Product is not valid for Sales org and distribution chain

    Hello friends,
    When i am saving the trade promotions , i am getting error message
    "Product XXXX is not valid for distribution chain XXXX, XXXX"
    I have maintained sales organization and distribution channel in commpr01 under sales and distribution tab.
    kindly help.
    Regards,
    Srinivas

    Hi Srinivas,
    the error is raised from the trade promotion CCA check - raised from method CL_CRM_MKTGS_PD_CCA_CHECK_HDLR~CHECK. There are the following checks performed:
    * There are several checks to do based on the distribtion chain
    * Execute the checks and identify which products fail which check
    1. *   Determine if the product passes the distribution chain check
    2. *   Determine if the product category 1 of the product assignment
       *   passes the product category check
    3. *   Determine if the product category 2 of the product assignment
       *   passes the product category check
    4. *   Determine if the product group of the product assignment
       *   passes the product group check
    5. *   Determine if the sales status of the product is set to blocked
    You may also need to check the sales and distribution data of the product category or product group of the mentioned product, if this is assigned to any.
    best regards,
    Johannes

Maybe you are looking for