Regarding list of values

I was trying to create a list manager with the values from this sql stmt
select vb.vcbauto, v.vendor_name, c.contact_name, b.bid_number, b.contract_description
from purch_vendor_bid vb, purch_vendor v, purch_contact c, purch_bid b, purch_vendor_contact vc
where vb.vendor_contact_number = vc.vendor_contact_number and
vb.bid_number = b.bid_number and
vc.contact_number = c.contact_number and
vc.vendor_number = v.vendor_number
order by v.vendor_name
but it is giving me a msg saying LOV query is invalid...can any one help me out in this...

A LOV can only have two values, a display value and a return value (whaich can be the same thing, but different alias, like display_field and return_field).
If you want multiple fields in your LOV, you can try something like:
select vb.vcbauto||' - '||v.vendor_name||' - '||c.contact_name||' - '||b.bid_number||' - '||b.contract_description display_field, vb.vcbauto return_field
from purch_vendor_bid vb, purch_vendor v, purch_contact c, purch_bid b, purch_vendor_contact vc
where vb.vendor_contact_number = vc.vendor_contact_number and
vb.bid_number = b.bid_number and
vc.contact_number = c.contact_number and
vc.vendor_number = v.vendor_number
order by v.vendor_nameBill Ferguson

Similar Messages

  • Regarding  input combo box list of values

    Hi,
    I am using JDev 11.1.1.5.0
    I used the input combo box list of values in adf application based on VO.When I type a value in the input combo box and press TAB key,it gives first item of that list rather than that entered value and when I open the list, it shows the repeating values of the first item.
    Please suggest me some solutions.

    Hi,
    hard to say based on your description. Try with 11.1.1.6 or 11.1.17 and if it reproduces, provide a test case based on the HR schema. Is that an option ? Then send it my way in a zip file renamed to "unzip". My mail address is in my OTN profile, just follow the named link left to this reply
    Frank

  • List of values not properly working in the selection screen.

    Dear Mates,
    In BEx query all the selection parameters are working and showing all the list of values. Created the same report in crystal from BEx query, for one particular selection it is not showing the list of values or drop down. Just showing "DISCRETE VALUES"
    Please throw some light on this.
    Good day,
    Regards
    Arun S

    Hi Arun,
    I think you have more than one dynamic parameter created in your report.  There is a limitation on dynamic parameter list of values.  You will have to edit the registery to get all values in dynamic parameters list.
    Find below is a knowledgebase article ;
    Symptom
    For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
    How can you modify the maximum number of values available in a dynamic parameter list?
    Resolution
    To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
    CAUTION
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    Crystal Reports XI Release 1
    Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
    NOTE
    Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
    Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    NOTE
    The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    After making changes to the registry, restart the affected service or application as required.
    Crystal Reports XI Release 2
    Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
    NOTE
    Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
    Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.
    NOTE
    The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    After making changes to the registry, restart the affected service or application as required.
    Thanks,
    Sastry

  • Validation error message is not displayed for an attribute as an Input List Of Value

    Hi everyone,
    I use jdev 11.1.1.7.0
    In my application I've created an Entity Obj and a View Obj base Employees table.
    for the JobId attribute I've taken actions as listed below:
    1. in Employees EO I've created a validation for this attribute and in some cases an error message returns (the error message is "the salary is not high"):
         * Validation method for JobId.
        public boolean validateJobId(String jobid) {
            if (...) {
                return false;
            if (...) {
                return false;
            if (...) {
                return false;
            return true;
    2. in Employees VO  I've created a LOV for this attribute (the view accessor is JobsViewObj ) and I display the attribute as an Input Text with List Of Values.
    in jspx page I drag& drop this attribute as below:
              <af:inputListOfValues id="jobIdId"
                                    popupTitle="Search and Select: #{bindings.JobId.hints.label}"
                                    value="#{bindings.JobId.inputValue}"
                                    label="#{bindings.JobId.hints.label}"
                                    model="#{bindings.JobId.listOfValuesModel}"
                                    required="#{bindings.JobId.hints.mandatory}"
                                    columns="#{bindings.JobId.hints.displayWidth}"
                                    shortDesc="#{bindings.JobId.hints.tooltip}"
                                    autoSubmit="true">
                <f:validator binding="#{bindings.JobId.validator}"/>
              </af:inputListOfValues>
    I open the Popup and I select a row from the Popup list and then I click Ok. After that if the validation method(validateJobId) returns false, the error message("the salary is not high") must be show to the user. but the error message doesn't display. I don't understand why this happens.
    Can anybody guide me about this problem?
    Regards
    Habib

    yes, you're right, I've tested it in 12.1.3 and error message was displayed.
    it seems it's a bug(bad bug ) in both 11.1.1.7 and 12.1.2. and now what can I do? is there any way to display the the error message?
    Regards
    Habib

  • Prompt List of Values in WebI - SAP BI Variable - SAP BI Query -BI Infoset

    Hi,
    We have a Multiprovider built on an Infoset. SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    Multiple-Single Values type Optional Variables are created for some of the Objects of this SAP BI Query.
    Universe is created on top of this SAP BI Query, using SAP Integration kit.
    WebI is created on top of this Universe.
    Prompts are created on some of the Universe Objects, for the WebI report.
    We are facing a typical problem.
    When a WebI prompt is created on one particular object, (which also has a Multiple Single Value type Optional Variable in SAP BI Query), its List of Values is showing up only first three values in WebI. The SAP BI Variable in BEX Analyzer shows up all the 8 values for the List of Values, for the same object.
    The Output WebI report has more values for the object than shown up in the List of Values & this is the problem.
    We tried to keep the settings in Info-object, DSO, Infoset, Multiprovider = Values in Master Data (for the List of Values).
    Similar objects and similar variables for the same query / webi show all the List of Values.
    Any guidance on aspects to be checked would be helpful.
    regards,
    Rajesh K Sarin

    Problem :
    If an SAP BI Infoset is used in data modelling, and a restricted key
    figure is created in the SAP BI Query; the resultant WebI Object Prompt
    for the Info-object, only shows up LOVs which have been used for the
    restricted Key Figure. Both the things are not related except for the
    fact that some of the values for the same object are used for the
    restricted key figure.
    Details :
    We have a Multiprovider built on an SAP BI Infoset.
    SAP BI Infoset is built using 2 DSOs.
    There is a SAP BI Query on top of this Multiprovider.
    There is a restricted key figure in the sap bi query. KeyFigure "Number
    of Records" is restricted for 3 of the relevant Info-object "Meter
    Reading Status" values.
    Universe is created on top of this SAP BI Query, using SAP Integration
    kit. WebI is created on top of this Universe.
    Prompt is created on the Universe Object for Meter Reading Status, in
    the WebI report.
    List of Values is showing up only the three values in WebI (which were
    used in the Restricted Key Figure calculation).
    SAP BI Variable in BEX Analyzer for the same Info-object Meter Reading
    Status shows up all the 8 values for the List of Values.
    The Output WebI report has more values for the object than shown up in
    the List of Values & this is the problem.
    We have kept the settings in Info-object, DSO, Infoset,
    Multiprovider, Query = Values in Master Data (for the List of Values).
    When we delete the "Restricted Key Figure" from the SAP BI Query, the
    refreshed Universe and Webi have a complete set of List of Values
    applicable.   
    Steps for Reconstruction    
    1. Create Infoset
    2. Create SAP BI Query on Infoset
    3. Create Restricted Key Figure for Number of Records and few of the
    values for a characteristic info-object "X".
    4. Create BO Universe on SAP BI Query
    5. Create Webi on BO Universe
    6. Create a Prompt on the characteristic info-object "X".
    7. Check List of Values for the characteristic info-object "X" in SAP
    BI Query and WebI.
    8. LOVs in WebI are equal to the values used for restriction in the
    restricted key figure.
    9. Delete the restricted key figure from SAP BI Query.
    10. Refresh Universe
    11. Webi prompt shows all the values for the prompt on "X".

  • Filter view object by selected values from list of values

    Hello,
    I've the following problem with my ADF Application. I have three view objects in my application module. Two of them are connected via a view link. For example take users, who are connected to their departments. The remaining view object consists of factories. Now I want to show the user/department dependency in a tree table and the available factories in a list of values. This list of values should be used to filter the shown users.
    I've already tried to use bind variables in the users view object. But I don't know how to fill them with the value of the list of values.
    Can someboy give me a tip how to solve this problem.
    Best regards,
    Enno

    Hi Enno,
    Try this:
    - Have a AM method with one parameter(which takes user from the list of values) and inside AM method write code to set the bind parameter value and execute the query
    Sample Code
    public void filterByUser(String user){
       //Get your UserViewObject instance to userVO
       userVO.setNamedWhereClauseParam("<Bind_Variable_Name>", user);
       userVO.executeQuery();
    }- Expose the method as client interface
    - Drop the method (Data Control) as a button on to the page and pass the listofvalues value as a value to the method binding param
    Something like this: ${bindings.<User>.inputValue}
    - Finally refresh the master and detail tables based on the ListOfValues selection by setting partialTriggers property to the listofvalues component id
    Hope it is clear
    Sireesha
    Edited by: Sireesha Pinninti on Oct 15, 2009 4:54 AM

  • Read more than one attribute from list of values record

    Hi,
    I am using Jdev 11.1.1.3.0.
    I have the following situation,
    have defined a read only view (schools information) which is a list of values for schools information ( schoolId, school name and school code) , I have to execute Query for that view as an Invoke Action in the executable s of the page,
    I need three attributes (A, B, C) in another view (name it student's school) to be set to the school information corresponding to a school chosen from a SelectOneChoice List
    I could not define the schools information as LOV for the attributes in the student's school, as I have to execute it in the executable s,
    I have an Iterator for the schools Information on the page and, bound the attribute A (from the student's school) SelectOneChoice as list to the school name (from school Information) , and then tried to read the current row of the schools Information Iterator like this inside a bean:
       Row  tempRow = getIteratorBinding("CmnLookupPrevSchoolRegView1Iterator").getCurrentRow();
       currStdPrevSchoolRow.setAttribute("B", tempRow.getAttribute("SchoolId"));
       currStdPrevSchoolRow.setAttribute("C", tempRow.getAttribute("SchoolCode"));but referring to the data saved in the DB, the values stored for the attributes B and C are not corresponding to the chosen school name , but corresponding to the first row of the iterator. ( not the current chosen)
    is there any suggestions, to have another approach to connect all the three attributes to the corresponding chosen values.
    or maybe it is just some properties for the Iterators,
    thanks in advance
    best regards,

    Hi,
    Have a look here: http://blogs.oracle.com/jdevotnharvest/2010/12/reading_the_selected_value_of_an_adf_bound_select_list_in_java.html
    If you read from a list binding then you get the row value from there as well - not from the iterator as lists don't change the current row
    Frank

  • Inline list of values from APEX views/tables

    Hi All,
    What table/view should I refer to get all the inline list of values from form on a table or view not reports (tabular forms). I want data similar to the one obtained for tabular form reports using APEX_APPLICATION_PAGE_RPT_COLSAppreciate your reply.
    Thanks and Regards,
    -Senthil

    I think the sun caught meVery little chance of me being similarly afflicted. Typical Scottish summer.. {noformat};-){noformat}

  • No data in Report parameter inspite of Scheduling of List of Values

    Hi,
    In the Business View Manager, I have created a Business View and LOV(List of Values) based on that view.
    The LOV consists of a cascaded prompt group that is used in certain Crystal Reports as under:
    > Loan Name
    >> Loan Subtype
    >>>  Channel Name
    All the three fields are coming from separate tables. Except table pertaining to Loan Subtype, all other tables and their fields have data. I am of the opinion that if I 'Schedule LOV' it should not prevent populating data into whatever fields from respective tables that contain data.
    I performed 'Schedule LOV' to get data up to Channel Name, and this did not help in bringing data in Loan Name within the parameter screen of Crystal Reports.
    Thereafter I performed 'Schedule LOV' to get data up to Loan Name, and even this did not help in bringing data in Loan Name within the parameter screen of Crystal Reports.
    Is it mandatory to have data in all fields used in LOV, for the data to appear in the highest level of parameter in cascaded prompt group. Your views are welcome.
    Regards,
    Neonevin

    Hi,
    I have created a new LOV upon the same Business View using the same fields in the format of highest level to lowest level as given below:
    > Loan Name
    >> Loan Subtype
    >>> Channel Name
    Then I perform the 'Schedule LOV' again but it does not help as the Report parameters still do not show any values for selection of values in prompt.
    I am getting the following error:
    Item SI_METADATA_ALL_DESCENDANTS was not found in the collection. (CrystalEnterprise115.FW_Properties.1)
    Is this an indication of some inconsistency. What exactly it could be ? How do I derive values in Report prompt through particular LOV ?
    Regards,
    Neonevin

  • List of Values from SAP BW variable in Web Intelligence

    Hi Ingo,
    We have SAP BW Query Variables with list of values available in Universe and hence Web Intellligence.
    These variables are on InfoObjects like Business Partner, Contract Account...etc. The actual values for these objects are in millions. Whenever we use these filters at WebI, its taking too much time to load all those millions of List of Values.
    Can you please guide us how to avoid loading these List of Values and provide a text box for user input.
    Appreciate your help.
    Regards,
    Ravi Kumar Garre

    Hi,
    no - this is a feature you can enable on any List of values including those that are being generated based on BI variable. In the Universe - assuming a query with a BI variable - you will have two List of Value definitions per Variable.
    open the properties and set both of them to "Delegated Search", save the universe, export it and then you should see the difference.
    ingo

  • Display Display value in Red Color in Pop Up List of value Item

    Dear All,
    i have created an Pop up List of Value item.I need to display Display value in Red Color in Pop Up List of value Item.
    What should i pass in HTML Form Element Attributes .I have try using
    style="font-color:red";That code.
    How can i display Display Value in Red Color.
    Thanks

    Is this what you are looking for?
    http://apex.oracle.com/pls/apex/f?p=42778:12
    If so..
    * Go to Shared Components -> Templates -> Select Type as "Popup List of Values"
    * Edit Popup LOV template
    * See the class name being used for div under Result Set section. In My case, its t1PopupBody
    * Under Page Attributes -> Page HTML Head section append following CSS
    <style>.t1PopupBody a{color:red;}</style>* Apply Changes
    If its not working, then inspect the pop-up lov with firebug and update CSS definition accordingly.
    Regards,
    Hari

  • How to send a list item value to URL to open data related to item value

    Hi,
    Iam using Apex4.0 and iam facing some problem. Iam unable to send selected list item value to the url specified in the HTMl region.
    Here i want to open the data related to list item value in other page.
    List item - :Familyp
    i want to pass this selected value to the url and when ever user selected the list item and clicks on the url, then it should display the item value related data in new page.
    I tried with &FamilyP in url but it's not working. Any one help me plz.
    Regards
    Vamsi.Tata

    Is it a normal Select list or Multi Select list?
    If you have select list that allows you to select multiple options then you cannot pass it through URL. Multi-select /Shuttle keep colon separated list in the item, and this confuses Apex because the Apex URL uses colons for a different purpose. No escaping or URL encoding will help.
    If it is normal select list that allows selection of only one option then you can pass through the url. Unless of course the data has a colon in it.
    For multi-select, and when the value contains colon, the only way is to save the value in session state, same page item or any other place like Application Item, and then reference it at the other end. Never pass through the URL.
    Regards,

  • How to use bind variale to create list of values? show date range?

    Hi,
    Dose anybode have a way to get around "bind variables are not allowed in Select statement" when create list of values from select? I have to create this based on who the user (one parameter passed into report) is.
    Another Question:
    I like to current date and current date-30 days on my report, how to achieve this?
    Any help wil be greately appreciated.
    Thanks

    Hi LC...
    Your approach is good...
    but i said to change the column formula not in criteria...
    but i wanted to done this change in fx of Dashboard prompt (presentation variable) column...
    Of course i appreciate your approach... it was simple ...
    Thanks & Regards
    Kishore Guggilla
    KUSHALINC

  • Frm-40502: oracle error: unable to read list of values

    Hi All,
    I am personalizing the assignment form, where we need to restrict the JOB LOV based on Organization value.
    In Forms Personalization we are creating the record group from query and attaching to Job field.
    The query is,
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = :CTL_GLOBALS.BUSINESS_GROUP_ID
    AND j.date_from <= :CTL_GLOBALS.SESSION_DATE
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= :CTL_GLOBALS.SESSION_DATE)
    ORDER BY j.NAME
    When we use this query, we are getting the error "frm-40502: oracle error: unable to read list of values"
    If i replace the bind variable with values we are not getting the error and its working fine.
    Replace query:
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = 202
    AND j.date_from <= TRUNC(SYSDATE)
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= TRUNC(SYSDATE))
    ORDER BY j.NAME
    how to use bind variables (Block.field) here? We are getting this error only when using the bind variable in the query.
    Please share your ideas.
    Thanks.

    Hi;
    What is your EBS version? There are 96 docs avaliable about similar error message. I suggest use metalink for your issue
    You can also check:
    FRM-40502: Oracle Error: Unable To Read List Of Values [ID 1161404.1]
    Frm-40502: Oracle Error: Unable To Read List Of Values. [ID 351931.1]
    FRM 40502: Oracle Error:Unable to Read List of Values [ID 179162.1]
    Regard
    Helios

  • List of values problem

    Hi...
    during data entry,the user selects from a select list a value and then goes to another select list to continue data entry,the problem is that the second list depends on the first one.Both select lists are on list of values and in the second list of values query the condition was like this:
    'where department = :p3_department'
    where the :p3_department is the first select list.
    at runtime,I see that the second list is empty.
    where I went wrong?
    thanks in advance

    Hi mhdamer,
    you can make your first select list of the type: 'Select List with redirect'
    If you do that and in your second list you make the where clause like you did:
    'where column = :P1_COL_SELECT_LIST_1.
    Though it can be that if you select something from the list, that the page will be refreshed (redirected), so that everything you filled in is gone. Then you must try to make the first select list the first field.
    Kind regards,
    Dave

Maybe you are looking for

  • Tables and fiends

    hi guys how i can see the table and fields of the respective requirement ex ,i want to see the table name of bom text in cs01 ( actually it is belongs to stpo) how can i get like this for other things

  • What cisco device relate to vxworks vulnerable

    many SP check vxworks vulnerable related hardware and os in china, i didn't find related information on cisco web site,including cisco security vulnerable! where can i find vxworks vulnerable related to cisco device. thank you

  • How Should I Set my Settings in iTunes?

    I have iCloud, Lion, iOS5....everything.  Should I have to sync my iPad and iMac at all?  And how should the settings be set in iTunes.  I notice that I have checked that iCal, Contacts and everything to Sunc, but shouldn't they be unchecked if they

  • 0customer problem

    Hi, I tried to enhance 0customer_attr with a couple of fields from adrc table. i added those fields and unhid those fields too. before writing the code to populate them with data, i tried to check first whether these fields are added in rsa3 but i am

  • Why is my mac always booting into Mac OSX Utilities?

    Then I have to restart and then it boots normally. thanks