How to add a profile value programmatically?

Anyone know how to add one? Is there an API?
I want to add a user level profile option value for 'POR_DEFAULT_DELIVER_TO_LOCATION_ID' so I can default the value. Thanks!
Thanks

Hi,
The LEVEL_VALUE column contains the value of the profile option (see eTRM for details).
The LEVEL_ID should tell you at what level this profile option is set as follows:
10001 --> Site
10002 --> Application
10003 --> Responsibility
10004 --> User
10005 --> Server
10007 --> SERVRESP
Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=201945.1
Regards,
Hussein

Similar Messages

  • How to add a profile picture to iTunes account in Yosemite?

    How to add a profile picture to iTunes account in Yosemite?

    Hi,
    You need to do the following:
    - Login to System Administrator responsibility
    - Navigate to System > Profile
    - Query the Profile Option Name and the Username (select the username checkbox)
    - Set the profile option value to the user
    - Ask the user to logout and login again
    Thanks,
    Hussein

  • How to change the profile value in the pl/sql code without making change in the database

    How to change the profile value in the pl/sql code without making change in the database.

    I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
    if these Profiles are set for the user running this program automatic printing should not be done.

  • How to add a default value in a site column for every item in a document library

    HI
    i created a content type with some site columns ,
    and included in a Document library.
    Process ( content type)
    -ProcessNo
    -ProcessName
    after that i uploaded 100 Documents but not  added value in a site column process name.
    now  how i add a default value in a site column for every document in a document library 
    adil

    HI
    i get below error when i change the script 
    PS C:\scripts> C:\Scripts\updatedefaultvalue.ps1
    Cannot index into a null array.
    At C:\Scripts\updatedefaultvalue.ps1:8 char:7
    + IF($i[ <<<< "Title"] -eq $null)
        + CategoryInfo          : InvalidOperation: (Title:String) [], RuntimeExce
       ption
        + FullyQualifiedErrorId : NullArray
    $web = Get-SPWeb http://tspmcwfe:89/
    $list = $web.Lists["test"]
    $item = $list.Items | Where { $_["Name"] -eq "Emc" }
    foreach($i in $items)
    IF($i["Title"] -eq $null)
             $i["Title"] = "test"
           $i.Update()
    adil
    Why are you piping a where in the items? Do you only want to add the "test" to ones matching
    a name?
    If you have ISE installed on your server I recommend you put your code in there and debug it. 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • How can add some suggested value to a propert on a Declarative Component,

    how can add some suggested value to a propert on a Declarative Component?

    kenyatta,
    Where you want to add the value ?
    If you want put some UIComponent(Value) to your declarative Component than follow my blog ( http://jneelmani.blogspot.com/2009/02/11g-how-to-create-declarative-component.html ) and add your value in STEP-5.
    You can watch live-demo at http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html
    --Neelmani Jaiswal
    Edited by: Neelmani Jaiswal on Mar 23, 2009 11:11 AM

  • How to add New status values in product

    Hi,
      In product master COMMPR01 presently system is shwoing only two vaues Blocked (ERROR), Blocked (Warning), even I have downaloded the sales staus from ECC to CRM using R3AS object 'DNL_CUST_PROD3' but on the screen system is not shwoing thos values.
    How to add new values in staus field.
    Regards,
    zafar

    Hi,
    Refer these links
    Re: GR for a production order
    status profile
    Regards,
    Vishal

  • How to add get Day value in a Date object?

    Hi,
    I am writing a sql statement that has two date values. One I am getting it from the database. The format in the database is MM/DD/YYYY. My first question is how do I convert the format into the java date format, YYYY-MM-DD. The second question is I need to find out what the day is and add 1 to it. How do I get Day value in a Date object?
    Thanks.

    Look at "SimpleDateFormat" and "parse" in the archives.

  • How to add a default value in a prompt list?

    I have a prompt list that I'm getting from the database, I want to add a deafult value in the top of the list. Ei "ALL", my current list is:
    "AMERICAS"
    "EMEA"
    "ASIA"
    I want a list like:
    "ALL"
    "AMERICAS"
    "EMEA"
    "ASIA"
    This is the code I have:
    @Select(Country Region\Regionname)IN @Prompt('Enter the region','A',{'All'}distinct 'Country Region\Regionname',Multi,Constrained)
    It is displaying only "All". Does someone know how to merge text with a database list in a promp variable?
    Thank you!
    Marcela

    please find this post
    i've solved this problem with someone before
    Optional User prompt
    ok, lets get back to our problem
    since you are in sybase databases i dont know weather there is a DUAL table like oracle or not,
    anyway forget about it and follow those steps
    1. import the universe to the desginer
    2. Right Click any empty space on the Stage to Create a derived table.
    3. Give The derived table any Dummy Name lets say "ALL_table"
    4. write a small SQL statment in the derived table "Enter SQL Expression"
    select 'ALL' from anytable you have in the database.
    lets say the countries table itself
    SELECT 'ALL' FROM USER.COUNTRIES
    validate the SQL and Click ok.
    5.you will have a derived table called "ALL_table" with field name "ALL"
    6.Drag the Field Name ALL to the Same Class whicn you "Country Name" in.
    7.Get back to your "Country Name" Dimension and Double Click it to get its properties, then go to the Properties tab.
    8.in the peroperties tab. "Associate List of Values" ,, Click "Edit" Button.
    9.you will find your "Country Name" Dimension, click "Combine Queies" icon in the bar, to have another queries union with the first one.
    10. you will have another query with "U" beside itm Drag the "ALL" dimension in it, and remove the "Country Name"
    so you will have 2 union queries one with the "Country Name" and another on with "ALL"
    gooooooood.
    11.Click "Save and Close"
    12.Check Export with universe and "Automatically Refresh before use"
    13.now you can hide the "ALL" dimension we have created before, to make it invisible for the users. (do you have problem hiding this dimension?)
    14.export your universe
    15.open WebI
    16.Create Report on this universe.
    17.put the "Country Name" Dimension on the filter and make it prompt,
    18.Run the query,
    19. tell me what you see?
    good luck
    Amr

  • How to create a profile value at user level programatically

    Dear all,
    I want to create a profile value at user level programatically, I refer to the developer guide and try to use fnd_profile.put() to create a new value.
    But I find out the value is just created in session level, not be inserted into base table.
    So is there anyone know how to realize this function in PL/SQL?
    Any idea is appreciated.
    Best Regards,
    Kenny

    Check Note: 364503.1 - How to Set a System Profile Value Without Logging in to the Applications
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364503.1

  • How to add one more values in Search Criteria,

    Hi All,
    OAF page Search Criteria :
    Search By "name"only Available already have in the search criteria .we are need to add Description in search criteria .How to add one more filed “Description” in Search Criteria,
    Please Help Me
    Thanks
    Rajavel

    "Set the Search Allowed property to True for any LOV result items you want to present to the user as searchable values. These items are listed in the search poplist the user sees in the LOV window.
    At a minimum you must set the Search Allowed property to True for the the result table item corresponding to the LOV field on the base page.
    This is from the devguide, I suggest you read it once at least if you have started work on the framework.
    Tapash

  • How to add hash table values to SQL Table using Powershell

    Hi,
    I have sharepoint list with four(column1, column2, column3,column4)columns.I am reading the list column values and adding to hashtable. Now I want to add values from hastable to SQL table with four(column1, column2, colum3,column4)columns using powershell.
    I have written the following script for single column but I would like to know how to add values for multiple columns.
                if(($key -eq "Column1") )
                   $SqlQuery = "INSERT INTO [TableName] ([Column1]) VALUES ('" + $HashTable.Item($key) +"')"
                   #Set new object to connect to sql database
                   $connection = new-object system.data.sqlclient.sqlconnection
                   $Connection.ConnectionString ="server=SQLServerName;database=SQLDBName;Integrated Security = True;"
              $connection #List connection information 
                   $connection.open() #Open Connection
                 $Cmd = New-Object System.Data.SqlClient.SqlCommand
                 $Cmd.CommandText = $SqlQuery
                   $Cmd.Connection = $connection
                  $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
                  $SqlAdapter.SelectCommand = $SqlCmd
                  $DataSet = New-Object System.Data.DataSet
                  $SqlAdapter.Fill($DataSet)
                  $DataSet.Tables[0]
                  $connection.Close()
    Can anybody please help me out to accomplish the task? Any help would be greatly appreciated.
    AA.

    Hi AOk2013,
    Not knowledgable on PowercShell, based on my understanding on HashTable in Java, Some modification you can make in your code to achieve your requirement.
    If the Keys in HashTable are "Column1","Column2","Column3","Column4", you can reference below.
    if(($key -eq "Column1") ) #what is the purposed of this if ?
    #$SqlQuery = "INSERT INTO [TableName] ([Term]) VALUES ('" + $HashTable.Item($key) +"')"
    #specify the real column names in the table
    $SqlQuery = "INSERT INTO [TableName] ([ColumnA],[ColumnB],[ColumnC],[ColumnD]) VALUES ('" + $HashTable.Item("Column1") +"','"+ $HashTable.Item("Column2") +"','"+$HashTable.Item("Column3") +"','"+$HashTable.Item("Column4") +"')"
    #Set new object to connect to sql database
    $connection = new-object system.data.sqlclient.sqlconnection
    $Connection.ConnectionString ="server=SQLServerName;database=SQLDBName;Integrated Security = True;"
    $connection #List connection information
    $connection.open() #Open Connection
    $Cmd = New-Object System.Data.SqlClient.SqlCommand
    $Cmd.CommandText = $SqlQuery
    $Cmd.Connection = $connection
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCmd
    $DataSet = New-Object System.Data.DataSet
    $SqlAdapter.Fill($DataSet)
    $DataSet.Tables[0]
    $connection.Close()
    Since your question is regarding PowerShell, I would suggest you post it in a dedicated
    PowerShell Forum. It is more appropriate and more experts will assist you.
    If you have any feedback on our support, you can click
    here.
    Eric Zhang
    TechNet Community Support

  • How to add a profile under 802.1x in the Network Preferences ?

    Mountain Lion doesn't have a + button in the tab to add a profile ?
    How should I go about adding the same ?
    Thanks

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to add the resultant value in a double

    Hay guys
    I am adding two vectors (each vector has 3000 values). I want to add them together and store in a double variable. But when i compile i have an error. (incompatible type found, Object required.)
    How can i store the values of two vector in an object
    here is my peice of code
      public void result (){
            double temp1;
            for(int i=0; i<=  3000;i++){
            temp1 = (double)v.elementAt(i) + (double)v1.elementAt(i);
      NOTE: i already have 3000 values (or objects) in my vectors
    Thanks alot in advance

    Okay guss. i Used (Double) in my vectors as object because with lowercase (double) it throws error. Asbestos you said (What are the objects in the vectors? Are they Doubles (with a capital 'D')? If so, use the methods found in the Double API to change the Doubles into doubles, instead of trying to cast them.) i tried but i didnt able to findout how to use that API. Can anybody show me
    Here is my full code.
    public class Simple {
        public long c=0;
        public long a = 16807;
        public long m = 2147483647;
        public long  XO = 238640;
        public long  XO1 = 248921;
        public Vector v = new Vector();
        public Vector v1 = new Vector();
        public Vector vLast = new Vector();
        public double x = 0, R = 0;
        public double LCDx (){
        for(int i=0; i<= 3000;i++){
        x = (((a)*(XO))+c)%m;
        R = x/m;
        XO = (long)x;
        v.addElement(new Double(R));
        System.out.println(i+" Value: "+R);
        return R;
        public double LCDy (){
        for(int i=0; i<=  3000;i++){
            x = (((a)*(XO1))+c)%m;
            R = x/m;
            XO1 = (long)x;       
            v1.addElement(new Double(R));
        return R;
      public void result (){
            double temp1;
            for(int i=0; i<=  3000;i++){
    // PROBLEM PART
             double temp = (double)v.elementAt(i) + (double)v1.elementAt(i);
              vLast.add(temp); 
      }Thanks alot in advnacee

  • How to add new picklist value to states and countries to Address object

    Hi,
    I like to query and update picklists, state and country, in the address. What're the record type and filed name for them?
    I tried record type, Address and field name, State and Country, with no luck.
    Thanks

    Hi,
    As far as I know you cannot modify the address object at this point of time.
    If you want to add values or modify the picklists for State & Country, you would need to use custom fields and add all required values and then use those fields. (You can remove the Addres Object completely from the layout and then substitue it with the custom picklists that you have designed - possibly cascading picklists with Country as parent and State as child )
    Hope it helps.

  • How to add ICC profiles to Photoshop Elements 10

    My ICC profiles are showing up in my LR 4, however, they will not show up in PSE 10.   What do I need to do to add the profiles into PSE 10?

    Hi,
    The version of Camera Raw that you reported should support the S100 CR2 images.
    If you load the editor, go to the File menu and select Open, then point to the file, are you saying that it displays the error message?
    Have you tried opening the file with Canon's Zoombrowser?
    Which operating system are you running on?
    Brian

Maybe you are looking for

  • Connecting to SQL Server 2000 with MS SQL Server Driver for JDBC

    Hi, I am brand new to JDBC . I have installed JDBC driver (for JDBC 2.0) from the Microsoft site and made relevant changes to the class path variable to include the driver paths, as suggested in the driver help documnnts. I have written a simple java

  • Upgrade firmware of n73.

    How can i create playlist of video song for real player of n73. No option to create playlist or tracklis in real player n73 (like n80 real player). If the problem solve with firmware upgrade then please help me, How can i upgrade firmware of n73.

  • Look for a table for a field in ECC.

    Hello expert,         I want to enhance a datasource with a field,  I can find out the position of this field in the ECC system, how can I know which table this field is in? Many Thank.

  • Impossible to use pip in imovie

    working with yosemite, in imovie is impossible to use picture in picture,  impossible to add more effects.

  • Cutting out shapes AE CS6

    This will seem pretty basic but pls help a newbie learner! I've created a logo using type and a shape (put simply).  Ive transofmed the type to my satisfaction and created the shape that is to be added BUT its in a different composition and its in li