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.

Similar Messages

  • 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

  • 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

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

  • 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

  • OTL Timecard Rejection/Resubmission

    Hi All,
    I am working on OTL Timecard Approval Workflow. I have a requirement as mentioned. Please let me know if it is feasible or not.
    Approval Style used is Project Manager.
    Hence when timecard is submitted, it is split into the number of projects in the timecard and sent to project manager's approval.
    I have a second level of approval also which I have achieved through workflow customization.
    The main scenario is as below.
    An employee submits a timecard with 2 different projects.
    Project manager of first project approves and is routed to next level of approval.
    Project Manager of second project rejects the timecard.
    Requirement
    In that case, employee has to resubmit the timecard after making necessary changes and should be routed only to the person who rejected the timecard.
    But, in general, when a timecard is submitted again, the previous workflow is cancelled and whole new workflow is triggered, which will send notifications to all.
    Is there way to achieve this?
    Waiting for your inputs.
    Thanks,
    Anand

    HXCEMP workflow is not responsible for displaying the timecard information in the notification. It just routes to the relevant approver,
    Did you configure the Notification layout as well (along with Time entry layout)? You need to have the similar changes to Notification layout.
    Ramu

  • Accrual Balance in  OTL Timecard oaf page

    Hi Guy's
    Can any one help me find out from where or which table the accrual balance's of an employee are populating in OTL timecard .
    Thanks in advance

    Hi,
    The accrual balances for each employee or not stores anywhere unless you are using payroll balances in your plan to store the balances. In OTL the values are dynamically generated calling your arrual formula whenever you open the page.
    Thanks.

  • Where clause for TaskLOVVO on OTL Timecard

    Hi,
    Following is the customization on our OTL timecard layout(Projects and Payroll Layout):
    ->Extended TaskLOVVO and based on a value selected in TaskLOV, i am defaulting Hours type.
    The dynamic where clause for the TaskLOVO is taken care of by the below QUALIFIER_ATTRIBUTES(Same as seeded layout)
    QUALIFIER_ATTRIBUTE14 = "HxcCuiTaskProjectId|PROJECT|Y#HxcCuiTaskProjectNumber|PROJECT-DISPLAY|Y"
    QUALIFIER_ATTRIBUTE15 = "project_id = ::HxcCuiTaskProjectId#upper(project_number) = upper(::HxcCuiTaskProjectNumber)"
    But in some scenarios the dynamic layout is not getting appended to TaskLOVO and the query behind the TaskLOV is pulling too many records.
    This issue is happening on Fridays when around 15000 employees submit the timecards, as Friday is our deadline for Timecard submission.
    I have tried different scenarios to replicate this issue in test intances but I am not able to replicate it.
    Please suggest what could be the issue and why is the whereclause is not getting appended in some scenarios.
    Thank you

    Hi,
    Thank you for your reply.
    The whoole LDT file is more than 30000 characters, which is not allowed in the post, so I have included only the lines which have customization.
    FYI: This is a Projects and Payroll layout.
    Following is my LDT file:
    # $Header: hxczzhxclayt0093.ldt 120.0 2008/02/08 09:26:10 bbayragi noship $
    # dbdrv: exec fnd bin FNDLOAD bin &phase=dat+10 checkfile:~PROD:~PATH:~FILE &ui_apps 0 Y UPLOAD @HXC:patch/115/import/hxclaytlayoutsld.lct @~PROD:~PATH/~FILE
    LANGUAGE = "US"
    LDRCONFIG = "hxclaytlayoutsld.lct 120.0"
    #Source Database seed121
    #RELEASE_NAME 12.1.0
    # -- Begin Entity Definitions --
    BEGIN HXC_LAYOUT_COMPONENTS
    "Projects Details Alternate Timecard Layout - Project"
    OWNER = "ORACLE12.1.0"
    COMPONENT_VALUE = "PROJECT"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "200"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Details Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS
    "Projects Details Alternate Timecard Layout - Project"
    OWNER = "ORACLE12.1.0"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "ProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_PROJECT_DETAILS_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "25"
    QUALIFIER_ATTRIBUTE6 = "HxcCuiProjectDetails|PROJECT-DISPLAY|CRITERIA|N|HxcCuiProjectId|PROJECT|RESULT|N|HxcCuiProjectDetails|PROJECT-DISPLAY|RESULT|N|HxcCuiProjectCoOrgId|LOCATION1|RESULT|N|HxcCuiProjectName|CNAME|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectDetails"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 = "oracle.apps.hxc.selfservice.timecard.server.ProjectLOVVO"
    QUALIFIER_ATTRIBUTE11 = "RESOURCE_IDENTIFIER_ID"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    BEGIN HXC_LAYOUT_COMPONENTS
    "Projects Details Alternate Timecard Layout - Task"
    OWNER = "ORACLE12.1.0"
    COMPONENT_VALUE = "TASK"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_TASK"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "210"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Details Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_PROMPTS "HxcCuiTaskProjectId" "AK_PROMPT"
    OWNER = "ORACLE12.1.0"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
    ATTRIBUTE_APP_SHORT_NAME = "HXC"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_PROMPTS
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS
    "Projects Details Alternate Timecard Layout - Task"
    OWNER = "ORACLE12.1.0"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "TaskLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_TASK_DETAILS_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "10"
    QUALIFIER_ATTRIBUTE6 = "HxcCuiTaskDetails|TASK-DISPLAY|CRITERIA|N|HxcCuiTaskProjectId|PROJECT|PASSIVE_CRITERIA|Y|HxcCuiTaskId|TASK|RESULT|N|HxcCuiTaskDetails|TASK-DISPLAY|RESULT|N|HxcCuiTaskBillableFlag|EXPTYPE|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "TaskDetails"
    QUALIFIER_ATTRIBUTE9 = "TaskId#NUMBER"
    QUALIFIER_ATTRIBUTE10 = "oracle.apps.hxc.selfservice.timecard.server.TaskLOVVO"
    QUALIFIER_ATTRIBUTE11 = "RESOURCE_IDENTIFIER_ID|TIMECARD_BIND_END_DATE"
    QUALIFIER_ATTRIBUTE14 = "HxcCuiTaskProjectId|PROJECT|Y#HxcCuiTaskProjectNumber|PROJECT-DISPLAY|Y"
    QUALIFIER_ATTRIBUTE15 = "project_id = ::HxcCuiTaskProjectId#upper(project_number) = upper(::HxcCuiTaskProjectNumber)"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute2"
    QUALIFIER_ATTRIBUTE28 = "TASK"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    BEGIN HXC_LAYOUT_COMPONENTS
    "Projects Details Alternate Timecard Layout - Location"
    OWNER = "CUSTOM"
    COMPONENT_VALUE = "LOCATION"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_CUI_LOCATION_LABEL"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "215"
    COMPONENT_DEFINITION = "CHOICE_LIST"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Details Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Details Alternate Timecard Layout - Location"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "CHOICE_LIST"
    QUALIFIER_ATTRIBUTE1 = "Custom2VO"
    QUALIFIER_ATTRIBUTE4 = "N"
    # QUALIFIER_ATTRIBUTE5 = "10"
    # QUALIFIER_ATTRIBUTE8 = "DisplayValue"
    # QUALIFIER_ATTRIBUTE9 = "Value#NUMBER"
    QUALIFIER_ATTRIBUTE10 = "oracle.apps.hxc.selfservice.timecard.server.Custom2VO"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "Dummy Element Context"
    QUALIFIER_ATTRIBUTE27 = "Attribute15"
    QUALIFIER_ATTRIBUTE28 = "LOCATION1"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Details Alternate Timecard Layout - Expenditure Type"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "EXPENDITURETYPE"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_EXPTYPE"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "225"
    COMPONENT_DEFINITION = "PACKAGE_CHOICE_LIST"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Details Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/23"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Details Alternate Timecard Layout - Expenditure Type"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "PACKAGE_CHOICE_LIST"
    QUALIFIER_ATTRIBUTE1 = "BOLINF.XXHXC_TYPE_CHOICE.EXPTTYPE"
    QUALIFIER_ATTRIBUTE2 = "@RESOURCE_IDENTIFIER_ID|@TIMECARD_BIND_END_DATE"
    QUALIFIER_ATTRIBUTE4 = "N"
    QUALIFIER_ATTRIBUTE8 = "aliasname"
    QUALIFIER_ATTRIBUTE9 = "value#NUMBER"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "R"
    QUALIFIER_ATTRIBUTE24 = "ET_EXPENDITURE_TYPE"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "OTL_ALIAS_1"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "EXPTYPE"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Details Alternate Timecard Layout - Customer name"
    OWNER = "ORACLE"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "XXTW_HXC_TIMECARD_CUST_NAME"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "205"
    COMPONENT_DEFINITION = "TEXT_FIELD"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Details Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Details Alternate Timecard Layout - Customer name"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "TEXT_FIELD"
    QUALIFIER_ATTRIBUTE1 = "N"
    QUALIFIER_ATTRIBUTE2 = "Y"
    QUALIFIER_ATTRIBUTE3 = "20"
    QUALIFIER_ATTRIBUTE4 = "1"
    QUALIFIER_ATTRIBUTE5 = "20"
    QUALIFIER_ATTRIBUTE7 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE17 = "NONE"
    QUALIFIER_ATTRIBUTE20 = "Y"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute9"
    QUALIFIER_ATTRIBUTE28 = "CNAME"
    QUALIFIER_ATTRIBUTE30 = "Y"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    And the query in TASKLOVVO:
    SELECT task.task_number tasknumber, task.task_name, task_details taskdetails, task.task_id taskid, bolinf.GETALIASID(proj.project_type,proj.project_id,task.task_id, :1, :2) billable_flag, task.project_id, task.start_date, task.completion_date, task.chargeable_flag, proj.project_number , proj.project_details from pa_online_tasks_v task ,pa_online_projects_v proj where proj.project_id = task.project_id
    In the above query GETALIASID is a custom function that returns a value.
    Thank you
    Edited by: Santo on Mar 18, 2013 2:12 PM

  • OTL TIMECARD Interface table - API (urgent)

    hi everybody...
    i want to know if there is an interface tables or API used for OTL Timecard for the integration purpose .
    API is acceptable but interface table is perefable .
    thanks alot ..
    best regards,

    Duplicate post.
    OTL TIMECARD Interface table - API
    OTL TIMECARD Interface table - API

  • OTL -Timecard Modifications

    Guruz,
    I'm vvvery much new to OAF ...
    well,I have doubts in OTL modification task, one of them is...
    as per requirement ,in the time entry -> create timecard , where we put hrs worked in Mon ,Tues columns etc..
    if some employee has not worked or absent on that particular day by default Hrs entry is 0 [obviously] ..
    Now while saving that timecard, according to requirement 0 shouldn't get stored to db..instead it should be 'null' or blank space etc..
    Exactly what can be done in this case? ...What path should i follow ?
    I have gone through many packages,COs,VOs related to timecard page[This page doesn't have EO]...
    will provide more details if required .
    Thanks in Adv. :)
    -sDJ
    Edited by: user12863742 on Jan 18, 2011 12:52 PM

    Hi,
    ---The OTL Time card page is dynamically created one and vo also.
    ---They r using API to validate the time card ,better to try with this.
    ---TimecardsListCO :u can c the code.
    Regards
    Meher Irk

  • OTL- Timecard: How can associate Project with Time

    Hello gurus,
    I have an OTL requirement where users are required to enter no more than 8 hours of sick time a week.
    I have an idea on how to accomplish this but I am not sure how to count the hours when Project = Sick.
    Can somebody give me an idea how to accomplish this? This is what I have so far:
    FUNCTION XXJIBE_SICK_HRS(p_resource_id NUMBER)
    RETURN VARCHAR2
    IS
    l_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbb_array HXC_BLOCK_TABLE_TYPE;
    l_attributes_info hxc_self_service_time_deposit.building_block_attribute_info;
    l_attr_array HXC_ATTRIBUTE_TABLE_TYPE;
    BEGIN
    l_timecard_info := hxc_self_service_time_deposit.get_building_blocks;
    l_tbb_array := hxc_deposit_wrapper_utilities.blocks_to_array(p_blocks => l_timecard_info);
    l_attributes_info := hxc_self_service_time_deposit.get_block_attributes;
    l_attr_array := hxc_deposit_wrapper_utilities.attributes_to_array (p_attributes => l_attributes_info);
    IF l_tbb_array.FIRST IS NOT NULL THEN
    FOR i IN l_tbb_array.FIRST .. l_tbb_array.LAST
    LOOP
    IF (l_tbb_array(i).MEASURE > 0 and l_tbb_array(i).SCOPE = 'DETAIL') THEN
    IF l_attr_array.FIRST IS NOT NULL THEN
    FOR i IN l_attr_array.FIRST .. l_attr_array.LAST
    LOOP
    IF (l_attr_array(i).attribute_category = 'PROJECTS'
    and l_attr_array(i).attribute1 = 4015 ---project_id for "Non-Work Time US"
    and l_attr_array(i).attribute2 = 5121 ---task_id for "Sick"
    ) THEN
    v_sick_hours := nvl(l_tbb_array(i).MEASURE,0) + v_sick_hours;
    END IF;
    END LOOP;
    END IF;
    END IF;
    END LOOP;
    END IF;
    IF (v_sick_hours > 8) THEN
    v_out := Per our policy you are limited to 8 hours of sick time in a week.
    Please adjust your sick time hours on this timecard.';
    else
    v_out := 'Pass';
    END IF;
    end;
    The code above is not correct because it is failing when I submit 5 hours for the week.

    I got the solution. Here is the code I modified:
    IF l_tbb_array.FIRST IS NOT NULL THEN
    FOR i IN l_tbb_array.FIRST .. l_tbb_array.LAST
    LOOP
    IF (l_tbb_array(i).MEASURE > 0 and l_tbb_array(i).SCOPE = 'DETAIL') THEN
    v_tbbid := l_tbb_array(i).time_building_block_id;
    v_measure := nvl(l_tbb_array(i).MEASURE,0);
    IF l_attr_array.FIRST IS NOT NULL THEN
    FOR i IN l_attr_array.FIRST .. l_attr_array.LAST
    LOOP
    IF (l_attr_array(i).attribute_category = 'PROJECTS'
    and l_attr_array(i).attribute1 = 4015 --project_id for "Non-Work Time US"
    and l_attr_array(i).attribute2 = 5121 --task_id for "Sick"
    and l_attr_array(i).building_block_id = v_tbbid) THEN
    v_sick_hours := v_measure + v_sick_hours;
    END IF;
    END LOOP;
    END IF;
    END IF;
    END LOOP;
    END IF;

  • OTL Timecard Restrict Expendituretype LOV

    Hi,
    I'm really stuck with following issue.
    My client has the requirement to restrict the Expendituretype LOV based on selected project.
    I know this is possible and read all documentation about it but I can't get it working.
    It should be possible because the TaskLOV is also restricted based on selected project.
    Can anyone please help ? Search on
    This is what I did:
    1. I extended ExpTypeElementLOVVO in such a way that project_id is included in the query.
    2. I created a custom layout file as follows. Relevant part is below.
    I made changes to ATTRIBUTE6,14 and 15. As I don't entirely grasp the syntax of these attributes I probably made some mistakes there. By the way, I did bounce Apache and OC4J.
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Alternate Timecard Layout - Expenditure Type"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "EXPENDITURETYPE"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_EXPTYPE"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    NAME_VALUE_STRING = "EXPENDITURE_ELEMENTS"
    SEQUENCE = "220"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT = "Projects Alternate Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Alternate Timecard Layout - Expenditure Type"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "ExpTypeElementLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "HXC_CUI_LOV_EXPTYPE_ELEMENT"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "5"
    QUALIFIER_ATTRIBUTE6 = "HxcCuiAliasValue|ALIAS-DISPLAY|CRITERIA|N|HxcCuiExpProjectId|PROJECT|PASSIVE_CRITERIA|Y|HxcCuiAliasId|DUMMY|PASSIVE_CRITERIA|N|HxcCuiAliasId|ALIAS|RESULT|N|HxcCuiAliasValue|ALIAS-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "AliasValueName"
    QUALIFIER_ATTRIBUTE9 = "AliasValueId#NUMBER"
    QUALIFIER_ATTRIBUTE10 = "oracle.apps.hxc.selfservice.timecard.server.ExpTypeElementLOVVO"
    QUALIFIER_ATTRIBUTE14 = "HxcCuiExpProjectId|PROJECT|Y"
    QUALIFIER_ATTRIBUTE15 = "project_id = ::HxcCuiExpProjectId"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE24 = "ELEMENTS_EXPENDITURE_SLF"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "OTL_ALIAS_1"
    QUALIFIER_ATTRIBUTE27 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "ALIAS"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    Please help me out.
    Jan
    Edited by: Jan Blok on Apr 29, 2011 1:56 PM
    Edited by: Jan Blok on Apr 29, 2011 1:58 PM

    I would say its the correct functionality. Even though, all the premium elements are getting displayed, they won't pass the validation on either on time entry or during transfer process. What's the otl patching level?
    If you are still concerned, raise an SR.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • OTL : Timecard Notification Layout

    We use the Timekeeper (Core Apps) form to enter Timecard.
    We have added a new column - Award to this form.
    Everything is working fine.
    We have set the Notification Layout as 'Project and Payroll layout'.
    The notification that goes to Approver has the Project and Task details. But the Award is missing which is understandable since i have to customize the layout to add this.
    I have the steps to add an LOV to the time card. But i have to display the Award that was selected by the user while submitting the timecard. How would my notification get the award id dynamically?

    You will have to configure the LDT file for the approval notification to include displaying your custom field.
    Presumably, in the template/data entry screen you have mapped this field to a context/segment in the OTL Information Types Flexfield. Use this mapping component to retrieve the data from the timestore and display in your notification layout.
    If, for exmaple, you stored the new field in context=ABC, Attbriute=Segment7, then refer to this context/segment as the source of the data in the notification layout.
    Usually, when you configure a new field, you also need to include it in the review, confirmation and notification layouts.
    Regards
    Tim

  • OTL Timecard issue

    Hi,
    We have to show 2 timecards to users. For Org A they want to show Projects Timecard and for Org B they want to show a timecard without any Project / Task / Expenditure (Only monday to friday days). So I created 2 preferences with 2 different layouts.
    Only issue is for the Org B we chosen 'Oracle Internal Layout - Timecard Entry Page' as this layout has only 1 field as Hour Type.
    Question is how is populate values in it (LOV) and can this field be hidden with some default value.
    I am new to OTL so Thanks in advance.
    Jay

    The list of values for Hours types comes from the "Alternate Name" definition. Define an Alternate Name and include all the elements that you want to display and link this Alternate Name in the preferences. Make sure that element links are properly established, although the element is available in alternate name but if the element link does not exist, then it wont appear in the Hours Type.
    Regarding hiding of Hours type, I don't think thats gonna work. OTL is a combination of building blocks (i.e. Hours information) and attributes (i.e. Hours type/project/task etc..), so you have to have both information in the timecard.

  • OTL Timecard -- Hours Type LOV issue

    I am facing some problem with the timecard. Scenerio is there is one employee who is eligible for all premium type elements.
    Now the employee data is updated.Now employee is eligible for restricted premium types.
    Lets say there is a timecard from 26th july,2010 to 2nd aug,2010. Employee data is updated on 28th jul,2010.
    Now in timecard for that employee i am able to see duplicate values in Hours type field.
    eg. Lets say employee till 27th jul,2010 is able to view premium entries like
    1. Overtime Weekend
    2. Overtime Weekday
    3. Day Shift allowance etc.
    and from 28th jul,2010 as the employee data is changed he will only see the Day Shift allowance in timecard.
    But employee while entering is able to see Day shift allowance twice along with Overtime Weekend and Overtime Weekday for time card 26th july,2010 to 2nd aug,2010.
    What would be the solution for that?

    I would say its the correct functionality. Even though, all the premium elements are getting displayed, they won't pass the validation on either on time entry or during transfer process. What's the otl patching level?
    If you are still concerned, raise an SR.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Cannot Open Aperture after upgrading to 3.4.5 from 3.4.4

    Error message: the installed graphics card does not meet minimum requirements for Aperture. If I go back to 3.4.4 aperture works.

  • Excise duty an VAT Calculation

    Dear SAP Gurus, I want to calculate the price for the PO with excise duty, education cess and sec edu cess for which VAT/CST is applicable. Please clarify how this calculation work, as per my understanding ED is calculated on basic price say basic pr

  • Jvmargs not being placed in jnlp file by ant deploy task

    Hi I have an ant deploy task as given below. I run ant to produce the jnlp file. Everything works ok, EXCEPT the jvmargs, and the enclosing platform element, are not copied into the jnlp file. Is this the intended behaviour? thanks graham -- ant task

  • 27 inch iMac is Possessed?

    Recently my late 2009 iMac i7 has started making a rapid beeping noise and the mouse goes crazy. When you pass the mouse pointer over the top menu the menu items look like they are being rapidly selection from left to right. If you press the mouse (M

  • Using Firefox v. 19.0.2, what does the feature (Move to shared storage) do?

    I am trying to save my stored bookmarks and Logins, hopefully saving them when I upgrade Firefox.