Addition of fields in selection list

Hi
  when iam copying from contract to sale order (or) sale order to sale order (or) inquiry to quotation , if i click on "selection list" then system will show the source document details like " selection , item , hglvit , material , open quantity , su , altitm , description , and then some 4 to 5 columns will be blank "
Now my requirement is "is there any possibility to insert one more column or to rename one more column in the selection list for reference document " . so that at the time of copying data from preceding document user want one more field to appear at the time of selection screen

Can you share the soln with all for our benefit?

Similar Messages

  • Populate Text fields from Select List

    I have a select list when selected should populate two text fields with values based on SQL Query
    Eg. The select list is for empno and populates ename and sal in two different text fields.
    I have looked at Denes' example http://htmldb.oracle.com/pls/otn/f?p=31517:42 It is very good but the only problem I am facing is how to populate more than one fields.
    Any help will be appreciated.
    ZRH

    Hi
    That would depend on where the SAL data is. If it's on your page, then you could probably do something with javascript. If not, you would have to do some Ajax to retrieve the value from the database. Have a look at: http://htmldb.oracle.com/pls/otn/f?p=31517:80
    Your select list could include both the ENAME and SAL values and your existing javascript would then just split the data into two parts and insert them into the appropriate fields.
    Andy

  • Re:addition of fields in selection screen

    hi good morning to all,
    i want to add two fields in selection screen.these two are
           Service Representative ZQ
           Customs  Representative ZG.
    i want logic how to add these fields to output.
    from these two i want to fetch the correponding pernr(field in vbpa i.e personal number)
    please give me the solution as early as possible
    thanks

    Hai,
        If it is a report you can add the two field either as select option or parameter.
    Regards,
    Umasankar

  • Re:addition of fields in selection screen1

    i want to add two fields in selection screen and fetch the correponding pernr(field in vbpa i.e personal number) based on these two partner functions.
    these two are partner functions are
    Service Representative ZQ
    Customs Representative ZG.
    i want logic how to add these fields to output.
    please give me the solution as early as possible
    thanks

    Hi Raj,
    I don't know what field u r going to add in selection screen by which u r going to fatch. But if thats not related with this select stmt then select stmt will be like this...
    select * (Fields u need)
           from VBPA
           into table t_vbpa (Internal table)
           where parvw = 'ZQ'
            or   parvw = 'ZG'.

  • Dynamically change the value of a select list in form based on a table

    Hi Friends,
    I am using a form based on a table. I want to display two fields as select lists instead of text boxes and when a value
    in a select list is selected, the corresponding values will be listed in the next select list. For example if department
    value is selected in a select list the employees in that department will be listed in the employee select list. I saw a
    metthod using ajax for achieving this in tabular form in Denes's sample application[Click Here| http://apex.oracle.com/pls/otn/f?p=31517:176:462842537250908::NO] .
    Is there any way to achieve the same for a form based on a table,
    Thanks,
    Tj

    Hi Andy,
    Could you tell me how I could use your example with multiple Application Items?
    My page has 3 cascading select lists. The second is dependent on the first and the third is dependent on both the first and second. I thought I would just need to add the second application item as a get, but not sure what the syntax would be. I have troubleshooted to the point where my select list refreshes when I have one in the javascript...just not sure how to add the additional one?
    Here's what I have (I have been referencing your 'Get Employees' page)
    My Page Items:
    P0_VENDOR_ID
    P0_VENDOR_SITE_ID
    P0_INVENTORY_ITEM_ID
    My Application Items:
    F_VDR_ID
    F_VDR_SITE_ID
    My query in the application process has both F_VDR_SITE_ID and F_VDR_ID in it.
    My javascript function...this worked OK until I added the additional get.add('F_VDR_SITE_ID')
    function getItems(filter, listName)
    var xml = null;
    var list = document.getElementById(listName);
    var listvalue = list.value;
    var get = new htmldb_Get(null,$v('pFlowId'), 'APPLICATION_PROCESS=Set_Items',4);
    get.add('F_VDR_ID', filter.value);
    get.add('F_VDR_SITE_ID', filter.value);
    ret = get.get('XML');
    if(ret)
    var s = ret.getElementsByTagName("select");
    if(s){
    var o = ret.getElementsByTagName("option");
    var oCount = o.length;
    list.options.length = 0;
    for(var i = 0; i < oCount; i++){
    var l_Opt_Xml = o;
    appendToSelect(list, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue);
    list.value = listvalue;
    if (list.selectedIndex == -1)
    list.selectedIndex = 0;
    get = null;
    Thanks,
    Janel

  • Select list and date picker on one line  -  is this a bug?

    I'm using: Application Express 3.2.0.00.27
    Is the following a bug? If so, how do I get it reported so it will be fixed in a future release of APEX? If not, how do I do it so it ends up the way I want?
    1. create blank page
    2. create html region
    3. create "select list" item (Begin On New Line - Yes, ...Field - Yes, ColSpan - 1, Row Span - 1)
    4. create date picker item (Begin On New Line - No, ...Field - No, ColSpan - 1, Row Span - 1)
    There will be other items displayed in more columns above what I just had you create above. I want the select list and the date picker to display next to each other on same line, so I placed date picker item on same line in same field as select list item.
    HOWEVER... the date picker ends up displayed under the select list item (kind of), instead of next to it on the same line.
    Here's what I get:
    ...................... [Select List Field] Date Picker Label
    Select List Label
    ...................... [Date Picker Field]
    Here's what I want:
    Select List Label [Select List Field] Date Picker Label [Date Picker Field]
    Thanks,
    Steve
    Edited by: sskelton on Aug 3, 2009 11:01 AM
    Edited by: sskelton on Aug 3, 2009 11:02 AM

    Hi Steve,
    I'm not sure if it's the official way, but you could add a post here: Enhancement Request Thread : Post 3.1 - that's what I've been doing :D
    Andy

  • Error in select list w/submit proccessing with IE

    I have encountered a problem that is only IE specific. The page is a basic page with an Automated Row Processing to insert the form to a table.
    Once the form has been filled out and you press create there are seven total fields including a hidden field (p173_model_id) that is populated by a database trigger and sequence. All of the fields in essence save to session state to the field following that field. So for instance the vendor_id saves to the model_number field. The model_number field saves to the status field and so on! This only occurs with IE though not with FF. In FF everything works as planned.
    Also if you change the container Type field from select list with submit to just select list the form handles fine now in IE.
    Attached are pictures trying both IE and FF:
    FF
    IE
    You can view the backend @
    workspace:epic
    guest/guest
    http://apex.oracle.com/pls/otn/f?p=9579:173
    Thanks
    Justin

    Here is an update in case anyone else experiences the problems I had...
    The SR request I filed was given bug # 5716829 I am not sure if this is published or not....
    Anyway here is what the development staff reported back:
    I have narrowed this problem down to the Read Only Condition on the P173_CONTAINER_TYPE_ID select list.
    If you remove "DISABLED" from the Read Only Element Table Cell(s) Attributes, it works fine in IE also. So, the problem seems to be
    with the way IE handles Select Lists that are DISABLED.
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    You may use that as a workaround until the fix is available...

  • Can images be displayed in a Select List ?

    Hi,
    I was wondering if it is possible to display images in a select list.
    For example to display status colors like "red", "green" and "yellow" so that
    the user can click the select list and select the item by its color.
    I would then return a number or a varchar2 (e.g. 'red', 'green' and 'yellow) in
    the LOV.
    In addition I need that select list on a form.
    I tried something with a static select like this:
    STATIC:[<img src="#WORKSPACE_IMAGES#red.gif">];[1],[<img src="#WORKSPACE_IMAGES#green.gif">];[2],[<img src="#WORKSPACE_IMAGES#yellow.gif">];[3]
    But it did not work. Instead of the numbers I would/could use also a varchar2 as mentioned.
    Is that possible somehow?
    Thank you very much.
    Johnny

    HI Marcello,
    yes, I know that possibility. I even use images myself in reports.
    I tried to do it the same way.
    Something like:
    STATIC:wwv_flow_file_mgr.get_file?p_security_group_id=22705712812657001&p_fname=1.gif;1,#APP_IMAGES#2.gif;2
    But both of the ways do not work.Always the text "wwv_flow_file_mgr.get_file?p_security_group_id=22705712812657001&p_fname=1.gif" itself is being displayed. :-(
    Nevertheless...thank you Marcello.
    Johnny

  • Dynamic Select List Item

    Hi all,
    I want to change from a Text Field to a Select List item.
    The list items should consist of 'Buyer' from a Linked_table in another Db.
    Do I have to create a LOV (List of Value) or can I do it in another way?
    //Lasse

    Edit the item and change the Display As value from Text Field to Select List.
    Then scroll down to the List of Values region and enter your query. Something like:
        select buyer_name, buyer_id
        from buyerThere is no need to create an LOV unless you plan on using the query in multiple forms.

  • Help please, I can't get select list behavior correct

    I have a demo application at apex.oracle.com http://apex.oracle.com/pls/apex/f?p=71968:1 username is demo, password is demo
    I have a form with multiple fields
    field1 (Text Field)
    field2 (Text Field)
    field3 (Text Field)
    field4 (Text Field)
    Status (Select List)
    The select list has the following options:
    Open
    Working
    Closed
    Process flow is as follows:
    Ticket created and status is defaulted to Open
    Analyst does their work and if they save the ticket they move the status to working and apply changes so now Working is stored in the database as the status
    When the work is complete, they select Closed and Apply Changes and the ticket is complete.
    What I am trying to do here is set it up so that the analyst cannot select Closed or they receive a message when they select closed if field1, field2, field3, or field4 are empty.
    I tried a dynamic action and I can get it to hide the close selection in the list and it will only appear when the fields are filled in, but say the ticket is in Working Status, after I fill in the fields, I see the Status selection list updating but then it changes the value to Open. All three options are now available, but the analyst may not want to close the ticket even though they have all the fields filled in. So I would want the status to stay in working but this automatically goes to Open.
    So I guess in the end, I need a select list that maintains its current value but the option to see closed is only available when the three fields are all not null.
    I have a demo application at apex.oracle.com http://apex.oracle.com/pls/apex/f?p=71968:1 username is demo, password is demo
    You can see what I am referring to if you select the record in the Report section with the status of working. Then when it comes up, remove one of the values from the fields and you will see that instead of keeping the value as working it changes it to open. I want it to keep its current value unless that value was closed, in that case it can go back to open.
    Any suggestions as to how to acoomplish this would be appreciated.
    Thanks
    Wally

    Hi Wally,
    You can change your lov as cascading lov and in the parent lov items, give the names of all that 4 fields. Also change your lov query as below
    select DVALUE as display_value, RVALUE as return_value from STATUS
    where ((vValue = 1 and (:PXXX_FIELD2 IS NULL OR :PXXX_FIELD2 IS NULL OR :PXXX_FIELD2 IS NULL OR :PXXX_FIELD2 IS NULL))
    OR (:PXXX_FIELD2 IS NULL AND :PXXX_FIELD2 IS NULL AND :PXXX_FIELD2 IS NULL AND :PXXX_FIELD2 IS NULL).
    Regards,
    Natarajan
    Edited by: Nattu on Mar 20, 2013 8:27 AM

  • Select list on submit of another select list

    Hi Friends. I have a two fields with select list. 2nd field select list field is dependent on 1st field select list.
    My table structure is this
    PRODUCT_GROUP_LOV_ID     PRODUCT_CATEGORY_LOV_ID     PRODUCT_CATEGORY_NAME
    660                                     523                                           Boat, Motor, Trailer 1
    518                                     523                                           Boat, Motor, Trailer 1 B
    519                                     523                                           Boat, Motor, Trailer 1 
    660                                     524                                           Hulls Only 2 HULLS
    518                                     524                                           Hulls Only 2 HULLS
    519                                     524                                           Hulls Only 2 HULLS
    520                                     524                                           Hulls Only The approach which i have followed is, i have created two item with P3141_PRODUCT_GROUP_LOV_ID and P3141_PRODUCT_CATEGORY_LOV_ID. Item 1 has assigned an lov with select list with submit request. The list of value for 1st item is
    select distinct PRODUCT_GROUP_LOV_ID d,PRODUCT_GROUP_LOV_ID r
    from LKP_PRODUCT_GROUP_CATEGORYand the lov for 2nd item list of value is
    select PRODUCT_CATEGORY_NAME d,PRODUCT_CATEGORY_LOV_ID r
    from LKP_PRODUCT_GROUP_CATEGORY
    where PRODUCT_GROUP_LOV_ID = :P3141_PRODUCT_GROUP_LOV_IDNow when i am selecting PRODUCT_GROUP_LOV_ID as 660 from item 1 it should populate two PRODUCT_CATEGORY_NAME value i.e, Boat, Motor, Trailer 1 and Hulls Only 2 HULLS. But its not returning the same.
    Please help me in this regard
    Thanks in advance
    Edited by: User_Apex on Aug 11, 2010 10:33 PM

    BTW, are you using APEX 4.0? Because there you could use the "Cascading LOV" feature so you don't have to do a full page refresh.
    You just have to
    1) change your P3141_PRODUCT_GROUP_LOV_ID select list to a normal one
    2) set P3141_PRODUCT_GROUP_LOV_ID as "Cascading LOV Parent Items" in your P3141_PRODUCT_CATEGORY_LOV_ID select list.
    That's all.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Simple select list with submit solution

    hello,
    i read all the topics on select list with submit bottton but couldn't get it to work in my app.
    i have a form on a table( create with a wizard). i have 2 fields that i converted from text field to select list (first with submit and the second depand on the value of the first).when the 1 lov source type is db column then it can't save the value after the submit.
    when i change the first lov to somthing else and set the source used to "only when current . . " i get a null value in the table.
    how can i save the state of the first lov and still get the insert to work ? please guide me step by step .
    here is the first love definition:
    select cat_desc,catid
    from category_main
    order by catid
    the second lov:
    select cat_desc,catid_sub
    from category_sub
    where catid = :p36_mcategory
    the proccess is Automatic Row Processing (DML)
    thanks

    thanks for the answer
    i will try clarify my problem
    i create a form with a form on table wizard
    the desc table is
    bugid pk
    mcategory (main category)
    scategory (sub category)
    the mcategory,scategory need to be cascade lov so i changed what the wizrd created for me (text field) to lov.
    i changed the mcategory to lov with submit.
    i created a branch to the same page for the lov.
    when i run the app and change the mcategory the page submit but does not save the change.
    i also cant change the source used to "only when curren ..." because the source type is "db coulmn"
    thats my problem , i just want to create a cascade lov on this form .
    here is the example
    http://htmldb.oracle.com/pls/otn/f?p=19496

  • Select List with Redirect clears Foreign Key

    I have two pages created by the Form wizard, a report and a form, with a Create button on the report page. When the Create button is pressed it passes a Foreign Key item using f?p syntax - stardard code, so far, so good, the form page works fine.
    However, the form contains three Select List items, and the second and third ones need to be restricted by the value of the first one. That is, once they choose an Organization using the first Select List the second Select List should only show Groups that belong to that Organization. To do this, I have chosen the first Select List to be "Select List with Redirect". This does exactly what I want, restricting the values in the second and third items because the LOVs they are based on refer to the value of the first item in their where clauses.
    This works fine when I edit an existing record, and also works if I create a new record but don't touch the value of the first Select List. The problem is that when there is no database record and the first Select List is changed, it wipes out the Foreign Key value that was passed - so the record cannot be saved. The url after redirection shows only a value for the item that was changed, and does not include the value of the Foreign Key item as it did when the Create button was pressed.
    I cannot find anywhere to specify item/value pairs for the redirection url. So I have created a Computation which sets the value of the Foreign Key item and computes it Before Header, After Header or Before Region, etc. It sets the value, and Session State displays the value. Debug shows it being set, too. But the displayed field is empty in the region, and the record cannot be saved because the item has no value!
    Can anyone tell me what I'm missing here? I suspect the processing of the region is overriding the computation. But I can't find a way around this. Any ideas?

    Scott,
    Sorry, my mistake - it's not a database column, and Alternate Source Used is set to "Only...". The problem is still occurring.
    The tables are:
    - Person - list of People
    - Organization - list of Organizations
    - Organization Role - Roles defined for each Organization, has foreign key to Organization
    - Person Role - Assignment of a Person to an Organization Role, has foreign key to Organization Role and also to Person
    I generated a report on Person with a link to a form on the table. When they press the edit icon, the form for the person comes up fine. Then I enable a series of tabs for that person - to edit addresses, phone numbers, etc. and carry the Person ID forward to each page.
    On the Person Roles page, I generated a report that lists the roles that person is assigned to and a form to maintain the assignments. Pressing the edit button goes to the form to maintain the assignment, which works fine.
    There is also a Create button to add a new assignment, which goes to the same form and clears the primary key of this table to create a new record. I also pass the Person ID in the url so that the new record can create the foreign key value to Person.
    Now here's the problem. On the form to create or edit an assignment, there is a Select List to choose the Organization Role record that they are being assigned to. But this can be a long list, with the same role in several organizations, etc. So I want to allow them to first select the Organization, then select Roles in that Organization.
    To do that, I created a new item on the page that is not a database column. It is defined as a Select List on Organization, and they can choose the Organization from the list. Then the select statement for the Organization Role LOV has a where clause that compares Organization ID against the value chosen by the user. To make this work, the page has to be updated when they choose a different Organization, so I made the Organization field a Select List with Redirect.
    When I edit existing role assignments this works fine. As soon as I select a new Organization, the Organization Role Select List is updated and I can choose roles defined for that Organization. But when I create a new record (which passes in the Person ID in the url) and then choose an Organization, the Person ID is wiped out - and the record cannot be saved without this foreign key value.
    After selecting an organization on a new record, the url shows that the page has been called with only the new value of Organization - so the Person ID is lost, because there is no database record to fetch and it is not passed to the page. And I cannot find a way to set the item/value pairs passed to the url when the redirect is performed.
    I am displaying the Person ID for debugging purposes, and see it disappear if I set Display As to "Text", "Display as Text", "Display as Text (based on LOV, does not save state)" or "Display as Text (based on LOV, saves state)". Interestingly, even though the later saves state (I can see it in Session State), it still gets wiped out in the record - presumably because it's a database column and there is no record, and the value is "Always" going to update the session state.
    Another interesting behavior: If I set the Person ID to display as a Select List, it remains. I think this is because I do not allow extra values or nulls, so it displays the first value in the list if there is no value. (I have only created one person so far in my testing, so I can't tell yet for sure if it changes. Will try that.)
    Is this clear? I'm trying to get this application created in my workspace on htmldb.oracle.com (currently it's on my local database) but having problems creating the tables - unable to create initial extents. Hopefully, I'll have it up there soon and you can examine what I'm doing. I'll let you know when it's available.
    Thanks for your help.
    Sam

  • Set focus on item that selected in multiple-selection list box field in infopath

    Hi
    I have  multiple-selection list box field in infopath that have for example 40 items. (I customize sharepoint list with infopath),then
     publish infopath form in to sharepoint list. users want to add new item,when they selected or checked each item in multiple selection list box, after that automatically control focus on first item, but I want to focus remain on that item
    I was selected. Why this happen?! I also set postback settings to “never” in multiple-selection list box properties. But didn’t work.
    Thanks.

    Hi,
    According to your post, my understanding is that you wanted  to find several columns based on user selection of checkboxes in one of the Multiple-selection List Box.
    I recommend to customize the form to concatenate values from choice field (with multiple values) into single line text box, and then hide the fields based on the text box value.
    We can follow the steps as following:
    Add a text box control(filed 3) on the form to hold the value selection in the multiple selection list box.
    Set the default value for the text box control as
    substring-after(eval(eval(Value, 'concat(., ";")'), ".."), ";")
    (you need to change the ‘Value’ in the formula to your multiple selection list box name: filed1).
    Add the conditional formatting on the flied: flied 3 does not contain value (you need to change the ‘Value’ in the formula to your multiple selection list box value.).
    In addition, you can add Formatting action to hide the text box control.
    Here are the result screenshots for you to take a look at:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to set "Display as Text" field with AJAX select list

    thanks Denes for your posting. I'm trying to use the Denes Kubicek code to populate a "Display as Text" field. It works for Text Field (disabled), but not "Display as Text" field(saves state) . In my applciation I need to show this field only (not the disabled text box) when a select list value is changed. any ideas to modify the code below are appreciated.
    http://htmldb.oracle.com/pls/otn/f?p=31517:80:3418128396960418::NO
    here is the code from the url above
    1. Create an Application Process - getDet:
    DECLARE
    my_det VARCHAR2 (200);
    BEGIN
    SELECT ename || CHR(10) || job || CHR(10) || mgr
    INTO my_det
    FROM emp
    WHERE empno = :P80_EMPLOYEES;
    HTP.prn (my_det);
    END;
    2. Put the following in the Region Header of your page:
    <script language="JavaScript" type="text/javascript">
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P80_EMPLOYEES',html_GetElement('P80_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    {  html_GetElement('P80_DETAILS').value = gReturn  }
    else
    {  html_GetElement('P80_DETAILS').value = 'null'  }
    get = null;
    </script>
    3. Put the following in the HTML Form Element Attributes of :P80_EMPLOYEES:
    onChange="f_getDet()";

    Arie,
    this works fine on normal page, except page zero. I have the AJAX select list and "Display as Text" field on page zero. The "Display as Text" field doesn't show the the value when AJAX select is changed. I'm using similar code as used in my other APEX page on OTN site. I tired to display the gReturn value, just before calling "setDisplayOnlyNode" function in the code below and it's showing correct value, but fails to display the value in the APEX field on page zero. Any ideas are appreciated.
    Thanks,
    Surya
    <script language="JavaScript" type="text/javascript">
    function setDisplayOnlyNode(pItem, pValue)
    { var textNode = pItem + '_DISPLAY'; $x(textNode).innerText = pValue; }
    function f_getDet ()
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);
    get.add('P1_EMPLOYEES',html_GetElement('P1_EMPLOYEES').value)
    gReturn = get.get();
    if(gReturn)
    { setDisplayOnlyNode('P1_DETAILS',gReturn)}
    {  html_GetElement('P1_TEST').value = gReturn  }
    get = null;
    </script>

Maybe you are looking for