Public API to create lookup codes through backend

Hi All
I have to add lookup codes to an already existing lookup type. Data would come in a csv file. I am using sqlldr to load data into a staging table. Now I have to call some public API to insert lookup codes into fnd_lookup_values. I could find FND_LOOKUP_VALUES_PKG.INSERT_ROW, is there any other public API available?
I am working on 11.5.10.2
Thanks in Advance!!
Regards,
Shashank

There is no api but you can use FNDLOAD.
First use FNDLOAD to download the existing value(s)
Modify the text file generated ; add new records.
Then upload it using FNDLOAD. Here is a sample syntax.
FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME="FND"
LOOKUP_TYPE="mylookup"
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Is there a way to create QR codes through Enhanced Datamerge in color rather than black?

    Trying to find a way to create QR codes through the data merge feature in a color other than black. The only way I know to attempt it is to try to give the placeholder a color attribute, but no matter what I try the QR codes generated come in as black. Wondering if there is a way to color them, like you can when you just generate an individual QR code.

    aggieweather,
    See the following post. I think should help out. Thanks!
    Chris C
    Applications Engineering
    National Instruments
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • Require an Public API to create OKE DELIVERABLE BILLING EVENT

    All
    We have a required to create a billing event on a Delivery of Project Contract. We found that the "_*OKE_DELIVERABLE_BILLING_PVT.INSERT_BILLING_INFO*_". But as it is a PVT, we are not getting approval to use it in our project. Is there any public API available for the same purpose ?
    Oracle Applications : 12.1.3
    Thanks in Advance
    Vasu
    Edited by: Vasu on Jan 30, 2013 8:33 PM

    Hi Dina,
    I am currently doing the Project contracts conversion based on R12 source to R12 target using Database links..  I am new to Project contracts Module..  Could you please share your code at [email protected]
    it would be a great help if you could share your program
    Thanks
    Ravi.

  • Lookup code not appearing

    Hi
    I have an issue with Lookup values of leave reason in terminate employment form.
    It is displaying only 3 leave reasons(Deceased, Gross Misconduct, Retirement). I have switched to Application developer and checked for the "LEAV_REAS" lookup values. there are 48 lookup codes and meanings and all are active.
    Why these are not being displayed in the terminate employment form?
    And I've added a new lookup code for the existing code. This is appearing in the terminate employment form.
    My doubt is why the seeded codes are not being displayed and why the custom added is appearing.
    Regards
    BalaKrishna

    BalaKrishna Reddy Avuthu wrote:
    Hi Vinayak
    Thanks for your reply.
    I have checked whether the codes are enabled or not and dates too. There is no problem with them.
    How can I change the legislation you were talking about? You cannot change the legislation for existing seeded values. If you need to use some reasons that are defined for other legislations, i suggest creating them and using the same.
    >
    Is there any problem if I define own codes without any tags? What could be the affect in legislation perspective? There is no problem with creating lookup codes which are not having tags, you can and will be able to use the new codes. However, they will be available in all business groups within your installation.
    To check the legislation code for business groups, use the following query.
    select name, legislation_code from per_business_groups
    Edited by: Vinayaka Prabhu on Apr 24, 2009 2:08 PM

  • Error while creating Supplier Contact through API

    Hi,
    I am not able to create supplier contact through an API: ap_vendor_pub_pkg.create_vendor_contact
    The return status (x_return_status)from the API is 'U' and x_msg_data is 'FND'.
    Please help with your suggestions !
    Thanks,
    Sambit

    Hi Hussein,
    Yes the only meesage that is coming in the pot parameter of the API is: 'FND'
    The code snippet is as below:
    ===================================================
    fnd_global.apps_initialize(user_id => v_user_id,
    resp_id => v_resp_id,
    resp_appl_id => v_application_id);
    mo_global.set_policy_context(
    'S', v_org_id);
    v_message := v_message || chr(13) || 'Assigning values for the api ';
    v_vendor_contact_rec_type.vendor_site_id := v_vendor_site_id;
    v_vendor_contact_rec_type.vendor_id := v_vendor_id;
    v_vendor_contact_rec_type.person_first_name := v_first_name;
    v_vendor_contact_rec_type.person_last_name := v_last_name;
    v_vendor_contact_rec_type.email_address := '[email protected]';
    v_vendor_contact_rec_type.org_id := v_org_id;
    v_message := v_message || chr(13) ||
    'Before calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api ';
    BEGIN
    ap_vendor_pub_pkg.create_vendor_contact(p_api_version => v_api_version,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_false,
    p_validation_level => fnd_api.g_valid_level_full,
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data,
    p_vendor_contact_rec => v_vendor_contact_rec_type,
    x_vendor_contact_id => v_vendor_contact_id,
    x_per_party_id => v_per_party_id,
    x_rel_party_id => v_rel_party_id,
    x_rel_id => v_rel_id,
    x_org_contact_id => v_org_contact_id,
    x_party_site_id => v_party_site_id);
    v_message := v_message || chr(13) ||
    'After calling AP_VENDOR_PUB_PKG.CREATE_VENDOR_CONTACT api: '||v_msg_data;
    =========================================================================
    Output: v_msg_data= FND
    Thanks,
    Sambit

  • Is any Public API available to create the rpd file programatically

    Hi:
    In general is there any public API's that can be used to create the rpd file programatically?
    I know that there is a discoverer migration tool to convert to rpd file is present in the latest version. But how to do it for the hyperion reports?
    Searching for any API's that may be present to create the rpd file programatically.
    Thanks & Regards
    Sridhar D

    You can use UDML to make changes to the RPD. However it is not supported by Oracle so you will be by yourself in anything goes wrong. You can also easily see the UDML code if you copy any objects from Administration tool into Notepad. This post will teach you the basics: http://oraclebizint.wordpress.com/2008/04/04/oracle-bi-ee-101332-udml-to-automate-repository-updates-migration-of-repositories-from-development-to-testproduction-environment/

  • Can Not Create Serviceable Item Through DI API

    Hi Experts,
    My Client is using SAP 8.81 PL0 ,I am creating Serviceable Item through DI API, using following code
    oItems = (SAPbobsCOM.Items)SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);
    oItems.ItemClass = SAPbobsCOM.ItemClassEnum.itcService
    When I am going to Add it throw the msg ,ServiceCat is blank
    In DI object I am not able to find the service category kindly help me out.
    Thanks
    Edited by: Anup Kharwar on Feb 21, 2012 5:40 AM

    Hi,
    The SDK helpfile has this to say about the itemClass property:
    SDK helpfile:
    Remarks
    The ItemClass property is applicable for cluster B (country-specific for Brazil only).
    For example in the Finnish localization we do not have a field in the Item Master Data window for ItemClass. We do have the field ItemType
    Does your localization have a field for itemClass anywhere in the B1 client ?
    Regards,
    Johan

  • API to create a new user from custom code

    Hi, do we have an API to create a new AquaLogic portal user, which I can call from my custom Java code? I want to make user creation process dynamic.
    Edited by technical_stuffs at 05/01/2007 2:20 PM

    yes, I gone through the code and it seems like I need to have some modification over there because it is taking some parameters that I dont have control on or I create those objects as what portals' create user process is doing and pass it down to that method and rest would be fine.

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

  • Public API's to create delivery for each delivery line

    I've requirement to create unique delivery for each delivery line using API. Can any body use public API to meet this requirement. Please ! any idea and thought !
    R12.
    Thanks in Advance,
    Ramana

    Try the WSH_DELIVERIES_PUB.Create_Update_Delivery API. The API creates a new delivery record or updates an existing delivery record in WSH_NEW_DELIVERIES table. The DELIVERY_ID, NAME and return status of a new delivery are passed as OUT parameters, while the DELIVERY_ID or NAME of an existing delivery for update is passed as an IN parameter.
    Pass IN parameter p_action_code value UPDATE ---> incase you want to update existing delivery.
    Pass IN parameter p_action_code value CREATE --> incase you want to create a new dleivery.
    Parameter Usage Type Required
    p_api_version_number IN Number x
    p_init_msg_list IN Varchar2 -
    x_return_status OUT Varchar2 -
    x_msg_count OUT Number -
    x_msg_data OUT Varchar2 -
    p_action_code IN Varchar2 x
    p_delivery_info IN OUT Record x
    p_delivery_name IN Varchar2 -
    x_delivery_id OUT Number -
    x_name OUT Varchar2 -
    I hope all this infor. comes handy.
    -Dhawang

  • ISupplier user Registration through backend

    Hi All,
    We are oracle EBS 12..1.3.
    I am trying to automate iSupplier users through backend and my problem is kicking off workflow APPROVE to create the user.
    FND_REGISTRATION_UTILS_PKG.publish_approval_event is the workflow to be fired. and it was returning 'N' always.
    [http://karthikrajasekaran.blogspot.com/2008/09/objective-following-is-outline-for.html]
    I am using FND_REGISTRATION_PKG.insert_fnd_reg_details,FND_REGISTRATION_PKG.insert_fnd_reg_details API's in my code to insert records for each iSupplier user.
    Any ideas?
    Thanks,
    Raav.

    Hi,
    Could something like this work:
    Add to your user table registration id e.g. using sys_guid() and flag is registration confirmed.
    Create register confirm page e.g. 250 and hidden item to page P250_REGISTER_ID.
    Set page as public
    Then send link like
    http://yourserver:port/pls/apex/f?p=APP_ID:250:::NO::P250_REGISTER_ID:REG_ID
    Change APP_ID to be your application id and dynamically REG_ID to be what you did generated from sys_guid() for that user.
    Then create to page 250 after header process that check P250_REGISTER_ID and set registration confirmed flag to your user table.
    You can have e.g. 2 regions with info on page 250 and show those according check of P250_REGISTER_ID and if user has already confirm registration and so on ....
    This was shortly how it might be done/work. Hope it helps
    Br, Jari

  • Using OSB for Public API (REST)

    Hi there,
    Is it a good practice to use Oracle Service Bus to expose a PUBLIC REST API?
    The idea is to have a separeted OSB instance which will be in the WEB so that other partners and applications (Native Mobile, for instance) can access some of our services. The application layer will have many different applications, like SAP, JEE systems, Cobol and others. But the public API will be design in a more RESTful fashion.
    What about security?
    What about performance? (Parsing JMS, XML and others into JSON will probably create extra load into the OSB).
    What are be the advantages of using OSB instead of a more traditional Service Layer?
    P.S.: We are being careful with the design of our API, sometimes the underlying system doesn't help, so some transformation has to happen (more load!) in order to make the API elegant and meaningful.
    Cheers

    Personally, I'd prefer Collections as they are nice to work with. Their only annoying issue is certainly the constant casting as soon as you retrieve Objects from them.
    I do not consider the documentation of what those Collection include too big a problem. Just include a line for each Collection parameter stating "Set of Strings" or the like. I wouldn't even check the type through instanceof, I'd just cast. If a ClassCastException is thrown, I think that's the proper thing to do.
    As you might have noticed, there is a proposal of "Generics" for Java, which would adopt something like those template classes known in C++. There is even a beta implementation available, so you can go ahead and code your Set<String>. Time will tell if this proposal finds its way into the official Java standard, the drawback being a more complex syntax. If you want to know more about it, check out those links:
    http://forum.java.sun.com/forum.jsp?forum=316
    http://www.jcp.org/jsr/detail/14.jsp
    http://developer.java.sun.com/developer/earlyAccess/adding_generics

  • How to register a new responsibility in apps through backend. please give me the full details about it

    how to register a new responsibility in apps through backend. please give me the full details about it

    Hi,
    From backend you can add a responsibility to a user using FND_USER_PKG package, and there are so many hit in the google. Let me point out 1:
    http://manoharbabuapps.blogspot.com/2013/08/how-to-add-responsibility-from-back-end.html
    I personally dont know of any API where you can create a responsibility from backend, but from front end you can create. Steps detailed in following link:
    Oracle Applications: creating responsibility in oracle apps R12
    Thanks &
    Best Regards,
    Asif

  • Call to WPG_SESSION API Failed. Error-Code:20000

    Hi,
    to be short:
    Oracle: 8.1.7.0.0
    When trying to login to the portal application I got this error [bottom of message]
    I downloaded the diag tool and run it against my configuration, everything was reported OK.
    I've also searched all through this forum and have read similar problem, but nobody had error code 20000.
    Would you please guide me?
    Call to WPG_SESSION API Failed.
    Error-Code:20000
    Error TimeStamp:Thu, 29 Mar 2001 16:41:15 GMT
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.
    null

    Reza,
    Is this a new install?
    If so, on a new install, you often need to create an entry in the tnsnames.ora file within the Oracle9iAS $ORACLE_HOME. You can do this simply by copying the information from your tnsnames.ora in your Oracle 8.1.7 $ORACLE_HOME/network/admin.
    A lot of times, it could also be a difference of Portal trying to connect to the database with:
    ORA817.company.com
    instead of
    ORA817
    or vice versa.
    Check http://myhost.mydomain.com/pls/admin_/gateway.htm
    In each DAD, it will specify the connect string that Portal is trying to use to connect with. Make sure your tnsnames.ora is using the same.
    If this is not a new install, you may have just had a problem with the database. If this is not production, rather than debugging the problem connecting to the database. I have found that restarting the database and webserver usually works, that will at least get you back up and running. Then you can check the alert.log in the database for any problems or issues such as too many sessions, etc.
    Thanks,
    Sue

  • How to create Lookup field in user form in OIM 11g - Urgent

    Hi Experts,
    How to create Lookup field in User Form - OIM 11g.
    Pls. provide your support on priority.
    Regards
    Karan

    Thanks all for your suggestion.
    Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
    For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
    Under each service there are multiple roles....
    Eg:
    Service 1 - Role 1, Role 2, Role 3
    Service 2 - Role 4, Role 5
    Service 3 - Role 6, Role 7, Role 8
    Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
    If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
    Is this possible. Pls. guide.
    Regards,
    Karan

Maybe you are looking for