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

Similar Messages

  • OTL timecard LOV changing search option

    Hi,
    Can anyone help in changing search option by value rather than display_value??
    Please let me know the steps..
    thanks
    mallik

    Hi,
    BrianK197719781979 wrote:
    OK Im making tiny steps forward now...
    SELECT *
    FROM hxc_lookups
    WHERE meaning in ('Total Hours','Timecard Period End Date','Timecard Period Start Date','PO Number','Project',
    'Timecard Status','Timecard Submission Date','Task','Timecard Comment')
    AND lookup_type in ('HXC_TIMECARD_SEARCH_ITEMS_WRK','HXC_APPR_TIMECARD_SEARCH_ITEMS')---Query the both the lookup_type and update 'Total Hours' to as u required 'Total Days'.
    ---May be here u req to do vo extesnion also to change the query to:
    SELECT * FROM hxc_lookups
    WHERE meaning in ('Total Days','Timecard Period End Date','Timecard Period Start Date','PO Number','Project',
    'Timecard Status','Timecard Submission Date','Task','Timecard Comment')
    AND lookup_type in ('HXC_TIMECARD_SEARCH_ITEMS_WRK','HXC_APPR_TIMECARD_SEARCH_ITEMS')
    Change:
    WHERE meaning in ('Total Hours' ) to WHERE meaning in ('Total Days')
    Regards
    Meher Irk

  • OTL TIMECARD LOV Configuration

    Hi Guru's,
    I have a question on dependents LOV in TimeEntry Screen.
    Description:
    I have a LOV called AFE which shows all the AFE Codes and AFE Names from the table(this table has two columns in the database). And another LOV called RC which shows RC code and RC Name depends on AFE Code(This table has AFE Code along with these two columns).
    -- Code in LDT
    QUALIFIER_ATTRIBUTE15 = "Afe_Number = ::XXXHxcAFECode"
    If We dont select anything from AFE LOV then it shows all the rows in RC LOV because of the above attribute will not be called.
    My requirement:
    I have records in RC table for AFE Code null also. I want display only these null value records.
    How can I handle this, Please add your thoughts as much as you can.
    It's an urgent issue, please respond ASAP.
    Thanks in adv.
    Naresh

    Hi Guru's,
    I have a question on dependents LOV in TimeEntry Screen.
    Description:
    I have a LOV called AFE which shows all the AFE Codes and AFE Names from the table(this table has two columns in the database). And another LOV called RC which shows RC code and RC Name depends on AFE Code(This table has AFE Code along with these two columns).
    -- Code in LDT
    QUALIFIER_ATTRIBUTE15 = "Afe_Number = ::XXXHxcAFECode"
    If We dont select anything from AFE LOV then it shows all the rows in RC LOV because of the above attribute will not be called.
    My requirement:
    I have records in RC table for AFE Code null also. I want display only these null value records.
    How can I handle this, Please add your thoughts as much as you can.
    It's an urgent issue, please respond ASAP.
    Thanks in adv.
    Naresh

  • 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.

  • Creating fields as LOV (using alternate names) on OTL timecards

    Hi,
    I would really appreciate if someone can help me understand the process of being able to add fields on OTL timecard as LOV fields using alternate names. These are COST segments which I need to add on OTL timecard. The part which is most confusing to me is modifying the .ldt to get these fields working.
    Appreciate if anyone can point me to related documents.
    Thanks,
    Maddy
    --

    Hi Maddy
    Ramsys has pointed you towards a very useful document, the timecard configuration guide. But, the guide is very complicated and it shows you what to do, but doesn't really explain 'why' you have to do it.
    I run training courses on OTL, and this is a complex area to understand. It is possible to display almost anything on the timecard if you put your mind to it! Your example fo the cost centre is quite straightforward. Youi can create a value set to display the cost codes you want. A suitable one might already exist. You then need to have a view object (VO) to use this on the timecard. OTL provides 10 dummy VOs which you can use. The guide explains how to do this. The VO links your value set to the timecard. This step accounts for displaying the data on the timecard.
    You also need to have somewhere to store the values selected by the user. To do this you need to define a contect in the OTL_INFORMATION_TYPES DFF to store the data. You will also need to have a mapping component to link the data on the screen to the OTL_INFORMATION_TYPES context. Usually, you can use an existing mapping component.
    Good luck!
    Regards
    Tim

  • Static LOV displays in Sorted order

    Hi
    Did anyone have come across using Static LOVs displays the display value in the Alphabetical sorted order for a radio button? Any resolution for this problem, I can change to Dynamic SQL using union with the dual table, just curious to know
    Cheers

    Suresh,
    Did anyone have come across using Static LOVs displays the display value in the Alphabetical sorted order for a radio button?I don't understand that question. What are you doing now and what are the results?
    Scott

  • How to change sort order in Notes?

    I just installed the new Mac OS X Mountain Lion and found the self-contained Desktop-App for Notes.
    But how do I sort my notes alphabetically???
    Using Mac OS X Lion I could change sort order within the mail-application. Btw I would love to sort my notes on my iPad and iPhone as well! It is possible via browser on the iCloud-Website - but the sort order is not transfered to iOS or the new Desktop-App!!
    Can anybody help, please? Apple???

    View > Sort By > Title

  • What's the sort order for podcasts on the shuffle?

    Hi all... Can someone tell me how the iPod Shuffle orders podcasts? I've seen MANY posts saying there's no way to manually sort podcasts on the shuffle (which is crazy IMO), but at least if I know how it's ordering the podcasts that'll help me identify which one is next.
    I added 15 podcasts to the shuffle, and sorting by every category I can find none that matches the order the shuffle places the podcasts in.
    So first question -- what order are the podcasts stored in?
    And second question -- Why the heck did Apple do this? Why can't podcasts just be treated like standard MP3 songs?
    And finally if there's no answer to either of these, is there anyway to get ipodderx to sync to the ipod shuffle? I love itunes, but if it's going to hender my hardware I'll switch to something else.
    Thanks for any help on this, and take care --
    Sam

    Hi Dean,
    I'm wondering if something's wrong with my podcast, because that's not what happens on mine. For example I have my podcasts in this order:
    NPR Technology
    Haunted New Jersey
    Autumn in New England
    Hometown Tales Podcast
    And even after selecting File then Update iPod and even right-clicking on ipod and selecting Copy to Play Order the order of the podcasts are :
    Haunted New Jersey
    Hometown Tales Podcast
    NPR Technology
    Hometown Tale Podcast
    Nothing I've done sorts the podcasts as they should be sort. Also i set it to not show the ipod unless it's connected, and when I sort the podcasts as I want, Update ipod, and plug ipod, plugging it back in shows the wacky sort order they're stored on the ipod. I can rearrange again, update again, eject and plug back in, and the crazy sort order (not mine) is back.
    Is there something I'm missing????
    Sam

  • Ipod nano - cover flow sort order nano 5th gen

    hi community,
    i'm using different ipods (3rd gen, 4th gen, 5th gen, nano) and i love tagging my mp3s (artist, album, _but not_ album artist)
    the sorting in cover flow for my ipod (3rd, 4th gen, touch, _but not 5th gen_) is fine for me: first regular albums then compilations.
    with the nano 5th generation sorting is as follows: regular album + compilations mixed - base is artist name ( not fine for me ).
    what i want is: first regular albums, than compilations (analogue ipod nano 4th). workaround for this should be: setting of album artist.
    my question: do i have to setup my album artist for the desired sort order in nano 5th, and how will be the sort order in cover flow for the future? (e.g. nano 6th gen., + followers (because i don't want to reset my tags weeks later once again ....)
    thanks for your reply.
    best regards
    itunes_gef

    Hi Damon et al:
    I agree with you that you shouldn't have to screw around with the file names. The iPod should allow you to sort in a variety of ways (e.g. any of the fields in the MP3 metadata, and in forward or reverse order). I'm going to keep checking back on this thread to see if more information comes out of it, but it looks to me like a flaw in the iPod OS, not a user-education issue.
    Cheers,
    bkengland
    P.S. One would hope that the Apple program managers look at these threads for RFE ideas!
    iPod Nano   Other OS  

  • 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

  • OTL Timecard Customization !!!

    Hi All,
    I'm trying Customization to OTL Timecard i.e add two extra columns Project Name and Task Name.
    I got this ldt file (hxczzhxclayt0019.ldt) to customize. I did my changes to add these fields. I was successful in seeing these columns.
    But the problem is I don’t know if the LOV is actually working or not. When I click on the Torch or LOV icon, it does open and I’m able to select the project name. But when I’m done with selection of the project name it does not reflect on the Project Name column of the Table Matrix, it instead shows the Project Id in the Project Column of the Table Matrix. And how will I make the Project Id and Project Name dependent.
    Note:1) ProjectLOVVO was already there with project name. so i dint customize it.
    2) And i have no idea how QUALIFIER_ATTRIBUTE6 field works.
    3) Could any body please explain me or direct me where i can get the definitions of the fields QUALIFIER_ATTRIBUTE (1 to 30)
    Here is the code changes I have made in the ldt file.
    ##########Text Field for Project Name############
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout - Project Name"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "PN"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_CUI_PROJECT_NAME"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "215"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2009/05/20"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Project Name"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "ProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "HxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|HxcCuiProjectId|PROJECT|RESULT|N|HxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N|HxcCuiProjectName|PN|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectName"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "oracle.apps.hxc.selfservice.timecard.server.ProjectLOVVO"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute8"
    QUALIFIER_ATTRIBUTE28 = "PN"
    LAST_UPDATE_DATE = "2009/05/20"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    Please suggest me a solutions, this is an urgent issue i need to resolve !!!
    Thanks and in advance.

    Client Does not want it to be a earning element and do not want to catch Punch in and Punch out times for Unpaid breaks.
    User should enter only minutes and that should be deducted from Regular Hours before explosion.

  • IPod classic - sort order of podcasts

    I have a new iPod Classic 160 GB. Love it so far, but it has one annoying thing. In iTunes, I have my podcasts sorted from oldest to newest. There are some podcasts, like news and training podcasts that need to be listened from oldest to newest or the content gets confusing when listening out of order. When I sync podcasts to my iPod, it refuses to sort from oldest to newest (even though when I look at the sort order of my iPod in iTunes it does show the order correct, just not on the actual iPod). So when I start a podcast, it automatically plays going from newest to oldest, which is not what I want. Any way I can change that?

    This drives me crazy as well. I hope they fix this in a firmware update.

  • Package Choicelist OTL timecard

    Has anyone implemented package choicelist in OTL timecard?...I wanted to ask you if you encountered a problem wherein you dont see any values in the list when you open a timecard after implementing package choiclist:
    Here is what my layout file looks like :
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS
    "Projects Alternate Timecard Layout - Expenditure Type"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "PACKAGE_CHOICE_LIST"
    QUALIFIER_ATTRIBUTE1 = "XXX_EXP_CHOICELIST_PKG.EXP_CHOICELIST_FUNC"
    QUALIFIER_ATTRIBUTE2 = "@RESOURCE_IDENTIFIER_ID"
    QUALIFIER_ATTRIBUTE4 = "N"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE24 = "ELEMENT_EXPENDITURE_SLF"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "OTL_ALIAS_1"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "ALIAS"
    LAST_UPDATE_DATE = "2006/09/18"
    END HXC_LAYOUT_COMP_QUALIFIERS
    and here is the package and function :
    CREATE OR REPLACE PACKAGE BODY XXX_EXP_CHOICELIST_PKG AS
    FUNCTION EXP_CHOICELIST_FUNC(P_RESOURCE_IDENTIFIER_ID VARCHAR2)
    RETURN VARCHAR2
    IS
    l_alias_value_name VARCHAR2(100);
    l_resource_id NUMBER(20);
    BEGIN
    -- convert parameters
    l_resource_id := TO_NUMBER(p_resource_identifier_id);
    --code to retrieve the contents of the list using the parameters passed...
    BEGIN
    SELECT DISTINCT
    alias_value_name
    INTO l_alias_value_name
    FROM hxc_alias_values
    WHERE alias_definition_id = hxc_preference_evaluation.resource_preferences
    (l_resource_id, 'TC_W_TCRD_ALIASES|1|',sysdate)
    ORDER BY alias_value_name ;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN (0);
    END;
    RETURN l_alias_value_name;
    END;
    END XXX_EXP_CHOICELIST_PKG;
    I tried even hardcoding l_resource_id and cant see any data?
    Thanks in advance
    [email protected]

    I see that you still have the same layout name used i.e. "Projects Alternate Timecard Layout". Try uploading your modified layout with a different name and attach that to the user. Bounce apache once and test.

  • OTL Timecard

    Hi,
    I need to add a display only field on the OTL Timecard. It should show the 'display_value' column from Custom2VO. The values I see in the ldt file for referencing Custom2VO are choice_list and lov - are there other options?
    Thanks!

    Add following line in component qualifier region of the ldt
    QUALIFIER_ATTRIBUTE30 = "Y"
    This attribute says read only flag Yes

  • Setting "Date Received" sort order via Applescript?

    For my 86-year-old Mom, I want to create an applescript that will always ensure upon launch that her Apple Mail's inbox is always the selected mailbox, and that the sort order is set to Date Received with the newest email at the top. (I'm assuming that would be Descending?) She keeps clicking on the column heads by accident which messes up the inbox's sort order -- and then she doesn't know what to do to correct it. (Well, I've shown her, but her memory isn't such that she can remember it tomorrow after drilling her on it today.)
    I found a way to make sure the sort order is by "Date Received" but I haven't been able to determine if I can ensure the sort order or not.
    Any help would be greatly appreciated!
    Message was edited by: BrianJohns

    Dimaxum,
    Thanks for your thoughts and the link. I've been there and boy, if there's a solution in there I haven't found it yet! Lots to look at.
    I would love to be able to freeze the UI settings in Mail and prevent Mom from messing up the sort order. Haven't figured out how to do that or even if it's possible. Short of that I'm thinking that running an Applescript to correct anything that might have been changed last time she was in the Mail application is the best I can do. I have the Applescript set to run at login, and it takes care of launching Mail when she boots up her computer. I also need to reset the position of the mail window on her screen and the size of the window and whether or not the preview pane is showing. If she accidentally resizes her window, or gets it off the screen, or loses the preview pane -- she's totally lost.
    I've found Applescript examples that let me perform a menu action, but there's nothing to check the state of "toggle" items -- for example, command-1 both closes and opens the Activity window. I'd like for it to only make sure that Activity window is open. Mom keeps closing it and then she wonders where it went.
    I could do all this stuff "back in the day" with QuicKeys. I'm thinking I should be able to do it with Applescript -- but I've never found Applescript (or automator) to be as understandable and usable as the old QuicKeys was. I do OK with Applescript as long as I can find an example -- but coming up with syntax and stuff like that out of the blue requires more experience with it than I'll ever have.
    I just looked up the price for QuicKeys. $60 -- wow, I'd love to have it again but that's just too pricey for this single application.
    Any more ideas or pointers, anyone??
    Message was edited by: BrianJohns

Maybe you are looking for

  • In previous period posting system is allowing less qty for goos issue

    Dear All, I am doing goods issue in previous period.Though in material master previous period system is showing 0.125 MT of material ,in MB5B same quantity of material in previous period is available also I checked in MB51 for all material document a

  • RSKC special characteristics

    Hi Guys, The Maximum number of allowed special characters in RSKC are 72. If it exceeds more then this what can we do? Thanks and regards Rajesh.

  • Why won't this webpage load?

    Hi all, I was setting up a simple non-Flash page as an alternative to the main version of a website, but it doesn't seem to load on Safari on my Dad's iPod Touch - the background appears black but nothing else appears. Is there something in the HTML

  • Problem with importing images from Nikon S60

    I have been using photoshop elements for several years - currently on Version 8.  I've had no issues importing images from my Nikon D70 - I choose the option to store the images in folders by "shot date" and this has always worked. My wife has starte

  • Can Someone help me with auto-center on my page css messed up

    Hi I am a newbie to Dreamweaver, my website is http://www.djdanmatthews.net I changed some content on the page and the css must have been affected. Now I can't get the image banner on the bottom of the page to center no matter what I do in Dreamweave