Sorting LOV

Is it possible to define the sort/order of LOV items?
Right now when I press an 'E' key, EBS CRM will automatically change my 'E' to 'email Tier I%' and displays the matching items as 'Email Tier II, Email Tier III, Email Tier I' (in that order)
What we'd like is for it to display 'Email Tier I, Email Tier II, Email Tier III' (in that order)
I've looked into Customizing through Diagnostics>Custom Code>Personalizations. However, I see nothing in there that involves LoVs or sorting options. And searching OTN has yet to turn up anything of value with respect to my question..
Is there anything one can do to make this function as requested in EBS?

Take a look at the built-in type 'Create Record Group from Query'. This allows you to build your own custom record group for the LOV (within the restriction that you need the same number of columns in your custom group as in the seeded one) and to specify order by criteria.
Once you've created your record group, you then assign it to the property type 'LOV' where target object is the field you're applying the lov to, property name = 'GROUP_NAME' and property value = your custom record group name.
Regards,
Jon

Similar Messages

  • Can we sort LOV using personalization

    Hi All,
    In OAF, can we sort LOV using personalization?
    Any inputs are appreciated..
    Thanks
    gt990

    Hi,
    You can set the Sort Allowed property through personalization.
    Regards,
    Gyan

  • Sort LOV view with transient attribute

    Hello,
    I am using JDeveloper 12c.
    I have a view object with a list of value. Let's say EmployeeView and EmployeeStatusLovView.
    I have a transient attribute on my list of values. Let's say statusDescription.
    I want to sort my list of value with the transient attribute. How can I do that ?
    I saw that I can easy sort with non transient attribute.
    If it wasn't a LOV, I could override the executeQuery and call setSortBy(), but with a LOV it doesn't work as the executeQuery isn't called.
    Any ideas?
    Thanks,
    Cindy

    Ok I get it. The problem was that I tried to override the executeQuery() instead of executeQueryForCollection(). With LOV the first one is not used. Calling setSortBy("myTransientAttribute") in executeQueryForCollection() works just fine!

  • LOV sort STATIC values

    I like to make use of a Checkbox to maintain the appearance of certain columns of report.
    Either I use STATIC LOV and paste all columns in there - QUESTION 1: how can I sort the sequence - default is alphanumeric - ?
    Or QUESTION 2: when I use a dynamic LOV how can I obtain the columns of a table to use these in a Checkbox.
    Any help wud be appreciated.
    brdgs
    Bernhard

    Bernhard,
    to get a sorted LOV you can create a new list template. Go to Shared components -> themes and templates -> details of the theme (click on the name of the theme) -> Create. If you're asked for the theme class choose vertical sorted list. The items of the list are sorted alphanumeric.
    For question 2 I have only a suggestion - Oracles provides a table "DBA_TAB_COLUMNS" that includes the columns of each table. Maybe you can make a select on this table to create the dynamic LOV?
    Regards,
    Bettina

  • Sub-class objects changing lovu2019s in XI 3.0

    Hello all,
    I have a XI 3.0 universe where I have several classes and sub-classes like this;
    Class1
    ....Subclass1
    .............Object 1
    .............Object 2
    .............Object 3
    ....Subclass2
    .............Object 4
    .............Object 5
    .............Object 6
    ...Subclass3
    .............Object 7
    .............Object 8
    .............Object 9
    Class2
    ....Subclass1b
    .............Object 10
    .............Object 11
    .............Object 12
    While updating the objects lovu2019s (for sorting) in the properties window, Iu2019ve noticed that beginning with Object 4 that the lovu2019s are changing back to that of Object 1, this is also the case for Object 5 (changes to Object 2u2019s lov) all the way through Object 12. It seems that no mater how often I set and apply the sorted lov for all objects, they take on the settings of the objects in the first sub-class in my universe. When querys are ran from WebIntelligence, they display the correct SQL (and return no results as there is no data in my dev database as yet). Objects in other classes (not sub-classes) seem to be fine. Has anyone seen this type of behavior before?
    Iu2019m thinking that I will need to go to 3.1 and suspect this may be a bug, any thoughts or comments are appreciated....

    Hi Didier,
    I did copy some some of the objects from a subclass to another, and to make sure this was not the issue, I re-created new ones and had the same issue.  I was not aware that previous BOE versions (LOVs) had the issue though, which makes some sense. 
    At the moment, I'm suspecting this is a bug so I am asking the client to upgrade to 3.1 to see if the issue persist (I suspect it may), if so I will then open up a tech support case.
    Thanks, Joe Szabo

  • Sorting of columns in report with values from lookup table (LOV)

    Hi,
    I have a report where I looku the values using a number of LOVs. I'd like to enable sorting on those columns in the report whihc works BUT the report get's sorted on the numric looku pvalue instead of the description for example COUNTRY_ID instead of COUNTRY_DESC.
    I have played around with the function APEX_ITEM.ITEM_TET_FROM_LOV in my SQL query:
    select ID, NAME,
    APEX_ITEM.TEXT_FROM_LOV(COUNTRY_ID, 'COUNTRY_LOOKUP') COUNTRY,
    from VAR
    But I get the following error:
    report error:
    ORA-06550: line 1, column 13:
    PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
    := . ( @ % ;
    ORA-06550: line 1, column 82:
    PLS-00103: Encountered the symbol ";" when expecting one of the following:
    . ( , % from
    So I am thinking that I am doing something very wrong? Is there another way to accomplish this?
    Andy

    you need to use htmldb_item.text_from_lov in your query.
    this will then deocde the key value to the description within the query itself and therefore allow you to do your sorting.

  • OTL Timecard LOV Sort Order

    Hello,
    We have an LOV field on our OTL timecard called Rate Up. It is a custom timecard created by someone who is long gone. We would like it sorted in a particular order. We identified a database view that is likely the source of the data, but adding an ORDER BY in the view did not work.
    This is probably really simple when one knows how. How can we put a sort order on this LOV?
    Thank you,

    Both of these suggestions are really close. I thank Avinash and Giuseppe for their advice.
    I found a validation set named XXEP_OTL_RATEUP_CODE_TK, but it is already sorted. We use this validation set on the Oracle Forms style OTL Timekeeper screens, but not on the web self service screens, where our sort problem exists.
    I enabled diagnostics without any useful information, but a trace gave me the following sql statement which uses hxc_cui_custom4_v. I added an order by into the view, cleared cache, logged off and on, tried a different PC with a different user, but no luck sorting. So where is this select specified, so I can add an order by?
    Thank you,
    PARSING IN CURSOR #192 len=1188 dep=0 uid=435 oct=3 lid=435 tim=3702128553905 hv=3217417118 ad='b8abd5f8'
    select distinct display_value displayvalue, value
    from hxc_cui_custom4_v a,
    (select trunc(FND_DATE.CANONICAL_TO_DATE(:1)) "TC_DATE" from dual) b
    where person_id = :2
    and b.TC_DATE between emp_per_start_date and emp_per_end_date
    and b.TC_DATE between emp_asg_start_date and emp_asg_end_date
    and b.TC_DATE between emp_pgr_start_date and emp_pgr_end_date
    and b.TC_DATE between emp_sps_start_date and emp_sps_end_date
    and b.TC_DATE between emp_gd_start_date and emp_gd_end_date
    and b.TC_DATE between emp_pgd_start_date and emp_pgd_end_date
    and b.TC_DATE between emp_pgs_start_date and emp_pgs_end_date
    and b.TC_DATE between emp_pspp_start_date and emp_pspp_end_date
    and b.TC_DATE between all_pgr_start_date and all_pgr_end_date
    and b.TC_DATE between all_sps_start_date and all_sps_end_date
    and b.TC_DATE between all_gd_start_date and all_gd_end_date
    and b.TC_DATE between all_pgd_start_date and all_pgd_end_date
    and b.TC_DATE between un_pur_start_date and un_pur_end_date
    and b.TC_DATE between un_purv_start_date and un_purv_end_date
    and b.TC_DATE between un_puci_start_date and un_puci_end_date
    and b.TC_DATE between un_puci2_start_date and un_puci2_end_date
    END OF STMT
    EXEC #192:c=0,e=521,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=3702128553897
    FETCH #192:c=1430000,e=1552659,p=0,cr=25048,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130106837
    FETCH #192:c=0,e=52,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130109204
    FETCH #192:c=0,e=21,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130109625
    FETCH #192:c=0,e=14,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130109853
    FETCH #192:c=0,e=42,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130111605
    FETCH #192:c=0,e=22,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130112010
    FETCH #192:c=0,e=19,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,tim=3702130112207
    FETCH #192:c=0,e=194,p=0,cr=0,cu=0,mis=0,r=7,dep=0,og=1,tim=3702130112570

  • Sort/Order By for Request lists, other LOVs

    There are many LOVs in the eBusiness Suite that are seemingly unsorted and have no logic to how they are displayed. Is there a way to force these LOVs to order alphabetically or any other way to arrange them? I realize that custom LOVs can be done this way by just adding an order by to the query that pulls the values but I have seen no place to change non-custom ones. I'm specifically looking for a way to sort the available request list (View->Requests->Submit New Request->Single Request->First field in the form
    Thanks in advance!
    Message was edited by:
    mateoc15

    Requests are already sorted by Application name, Report Name .. I do not think there is a way to change this order.
    Maybe someone in this thread can help in this.

  • Sorting a column according to LOV displayattribute's value?

    Hi,
    a quick question over an issue that probably some of you have already encountered.
    How to sort an af:column in a table according to the content (displayname) of the LOV associated with the FK attribute?
    e.g. field Orders.CustomerId with a LOV that takes values from a Customers table, LOV value: Customers.Id, LOV display attribute: Customers.Name
    If I click on the CustomerId column on the parent af:table (Orders), the column gets ordered according to Orders.CustomerID (or Customers.Id, they're the same of course) which is meaningless to the user.
    How to actually make the column ordered according to what the user actually sees, thus Customers.Name?
    Tried fiddling with af:column's sortProperty but got nowhere.
    Is there a way to get this behaviour?
    thx in advance

    Hi,
    Sorry. I overlooked the question. In this case, you might want to modify the VO query to include the FK attribute as well and change the sortProperty of the table to the new attribute.
    For ex.
    Emp (with Dname) VO query
    select emp.empno......dept.dname
    from emp emp, dept dept
    where emp.deptno=dept.deptnoFor the deptno column in the af:table, change something like
    <af:column sortProperty="Dname"  headerText="#{bindings.DeptView1.hints.Deptno.label}" id="c3">Also make sure, you set the Updatable property of the Dname attribute in the vo to never.
    -Arun
    Untested

  • Extra sort field in LOV with Union

    I'm building an LOV that is based on a single table, but the list needs to be broken up into two groups to show preferred vs. non-preferred values. I would like to display the preferred values in the table first (sorted) and then the non preferred values (sorted) second. I am able to do this in SQL with a UNION and by creating an extra "sort" column for the ORDER BY clause. The problem is, Dynamic LOV only allows a query to return exactly two columns, hence I can't include my sort column. Below is the query that works in SQL Builder, but no LOV. Any suggestions on how I can do this in an LOV without including the 3rd column?
    /* Preferred companies */
    select     CC_COMPANIES.NAME||'*' as display_value,
         CC_COMPANIES.ID as return_value,
    'A'||CC_COMPANIES.NAME as sort_value
    from     CC_WATCHLIST CC_WATCHLIST,
         CC_COMPANIES CC_COMPANIES
    where CC_WATCHLIST.ITEM_ID=CC_COMPANIES.ID
    and CC_WATCHLIST.MEMBER_ID=:CC_MEMBER_ID
    and      CC_WATCHLIST.CATEGORY_ID = 6
    UNION
    /* the rest of the companies */
    select     CC_COMPANIES.NAME as display_value,
         CC_COMPANIES.ID as return_value,
    'Z'||CC_COMPANIES.NAME as sort_value
    from     CC_WATCHLIST CC_WATCHLIST,
         CC_COMPANIES CC_COMPANIES
    where CC_COMPANIES.ID not in (select CC_WATCHLIST.ITEM_ID from CC_WATCHLIST where CC_WATCHLIST.MEMBER_ID=:CC_MEMBER_ID
    and      CC_WATCHLIST.CATEGORY_ID = 6
    and CC_WATCHLIST.ITEM_ID=CC_COMPANIES.ID)
    ORDER BY sort_value

    Jeff,
    Try this:
    select x.display_value, x.return_value from (
    /* Preferred companies */
    select CC_COMPANIES.NAME||'*' as display_value,
    CC_COMPANIES.ID as return_value,
    'A'||CC_COMPANIES.NAME as sort_value
    from CC_WATCHLIST CC_WATCHLIST,
    CC_COMPANIES CC_COMPANIES
    where CC_WATCHLIST.ITEM_ID=CC_COMPANIES.ID
    and CC_WATCHLIST.MEMBER_ID=:CC_MEMBER_ID
    and CC_WATCHLIST.CATEGORY_ID = 6
    UNION
    /* the rest of the companies */
    select CC_COMPANIES.NAME as display_value,
    CC_COMPANIES.ID as return_value,
    'Z'||CC_COMPANIES.NAME as sort_value
    from CC_WATCHLIST CC_WATCHLIST,
    CC_COMPANIES CC_COMPANIES
    where CC_COMPANIES.ID not in (select CC_WATCHLIST.ITEM_ID from CC_WATCHLIST where CC_WATCHLIST.MEMBER_ID=:CC_MEMBER_ID
    and CC_WATCHLIST.CATEGORY_ID = 6
    and CC_WATCHLIST.ITEM_ID=CC_COMPANIES.ID)
    ORDER BY sort_value) xJoel

  • User parameter LOV sorting

    Is there any way to sort a parameter LOV in descending order? I can't find that option anywhere.

    Hi,
    Sreedhar is correct if the select generating the LOV was in descending order,
    If not it will just show the LOV in the order it was created.
    If the LOV is generated from a custom folder then change the order there,
    If not then you can create a new list of values and replace the existing one.
    You can also use the "alternative sort" to sort your list of values, there are a few posts here regarding that issue...
    Good luck

  • Sorting report by column based on LOV problem...

    All,
    I have an issue with a report I have written.
    I have an LOV based on a sql where which returns an ID as a return value and a CODE as a display value.
    Lets say the LOV returns the following results:
    Return, Display
    1, V
    2, A
    3, T
    When I click on the item column heading to sort the report based on that column the records are in the order 1, 2, 3 and not A, T, V.
    So it looks like it is sorting the results based on the return value and not the display value.
    Is this a feature of displaying items based on LOVs in reports and then sorting on them or am I missing something.
    Hopefully, someone can help me out here as it is driving me mad.
    Regards
    ChrisR

    Chris,
    This didn't change in 3.1 and that is definitely not a bug but a feature. The solution I
    propose is a simple workaround for the special cases of LOV display columns or columns
    where you have an image but still want to do sorting.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/apex/f?p=107:7
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Enkitec LOV sorting

    I'm using the Enkitec LOV to return columns from a jaro.winkler sql query . The first returned column is the probability of a match in descending order (so the highest probability is at the top of the list). This is much like a spell check in a word processor where the most likely replacement word is at the top of the list.
    Example code showing the top 15 results ordered by probibility in descending order
    select * from (
      select distinct utl_match.jaro_winkler(upper(cst.supplier_name_top), upper(:p73_supplier_name)) probability,
       cst.supplier_id as "Supplier ID",
       cst.supplier_name_top as "Supplier Top",
       crs.lcr as "LCR",
       crs.region as "Region",
       crs.mfg_country as "MFG Country"
    from
       cfm_supplier_top cst,
       cfm_rcv_supplier crs
    where
       cst.supplier_id = crs.supplier_id(+)
    order by 1 desc)
    where rownum < 16
    The question I have is there a way to default the sort to descending rather than ascending in the LOV? In the SkillBuilders LOV, there was no default sort and it was handled by the query. In the Enkitec LOV the first display column is always sorted Ascending even if NONE is selected as the sort and it messes up the descending probability I need.

    Sorry for the late reply (long weekend...)
    Your reply pointed me in the correct direction. I had to take the inverse and change the query sort to Ascending (highlighted in red below).
    select * from (
      select distinct 1/(utl_match.jaro_winkler(upper(cst.supplier_name_top), upper(:p73_supplier_name))) probability,
      cst.supplier_id as "Supplier ID",
      cst.supplier_name_top as "Supplier Top",
      crs.lcr as "LCR",
      crs.region as "Region",
      crs.mfg_country as "MFG Country"
    from
      cfm_supplier_top cst,
      cfm_rcv_supplier crs
    where
      cst.supplier_id = crs.supplier_id(+)
    order by 1 asc)
    where rownum < 16
    Sometimes a little "mental push" helps a lot.
    Much appreciated! 

  • LOV Sort in Universe

    Hi,
    We have a Variable created in BEx Query for  Calender Year/Month and also List of Values (LOV) object come from the Bex Query to the Universe
    LOV is working finr, but default the values are in ascending order. Do we have any solution or approach to get these list of values in descedning order. I am looking for some tricks in Universe or in Bex query. I am aware to sort this in Web I reports.
    Currently, we get - 2001001, 2001002... 2011001, 2011002..
    We expect as - 2011002, 2011001, 2010012, ....., 2001002, 2001001.
    Any suggestions.
    Thanks in advance.
    Jai

    Thanks Dave for the reply.
    Yes, currently users are doing the same (click on the heading of the LOV display to reverse the sort order).
    Thought whether we could have any option in Universe or in Bex query to get in descending order as we do in relational universes.
    Most of our reports have many prompts, in that they would like to see all the LOV in descending order.
    Thanks
    Jai

  • Sort in a lov

    Hi,
    I am using designer 6i for generating forms...
    How can I sort a lov with an order witch is different than the one used by default ( I have in a look up table...)
    example : I want to sort in alphabetical order of a libelle...
    thanks for help!

    set order by in the prop. sheet of the table in the LOV

Maybe you are looking for

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to net

  • Set IP Address on 3550 and 2950

    Hello all, This is probably a simple question. I have 3 switches that are gigastacked on top of one another. I would like to assign each switch an ip address in order to manage the switches. Below is more informaiton on the switches. SW1-3550 SW2-355

  • IPod ejects as soon as it is connected - what can I do?

    I NEED HELP! Every time I connect my iPod Classic to my computer, it automatically ejects within 30 seconds or less (usually less). I have removed and reinstalled iTunes on my computer, to no avail. Nothing will sync. Any ideas on what I can do?

  • Report on Packing

    Hi all, I am looking for a way to report on Handling Units pe shipmnet, and material lines per handling unit along with the User ID that created the handling unit.  Seems all other aspects of LE there is some way to determine a line/hour effeciency r

  • Where can i found the taz sicker of the apple's film ??

    Hello, I searched this sticker (taz (looney tunes) of the apple's film) on the web without success, can you tell me if there is somewhere. THX ALL