OTL Create Timecard

Dear All ,
i have customized the OTL Create Timecard page to Include the Country, State and City LOV's in Create TimeCard Page through LDT file .
when i create a Timecard and enter the values for Project, Task , Type and country ,state, city and SAVE.
These Project , Task , Type and country ,state, city Value's are getting saved in the table HXC_TIME_ATTRIBUTES Table with Attribute_category ='PROJECTS'. under attribute1,attribute2,attribute3,attribute8,attribute9,attribute10
These values should also be saved in "PA_EXPENDITURE_ITEMS_ALL" Table (Expenditure Item DFF)after running the standard program "PRC:Transaction Import Program"
can any body please provide a solution as to how to achieve this to be stored in Table "PA_EXPENDITURE_ITEMS_ALL" (Expenditure Item DFF)
2) Simillarly the Country ,State and City vlaues that are selected in the created timecard page should default at the FreeText Filed's (Country,State,& City enabled at PAEXPENDFF-ST DFF) in the Details Page,
after running the PRC:Transaction Program, the country,state and City should be stored in "PA_EXPENDITURE_ITEMS_ALL" Table (Expenditure Item DFF)
can any body please provide a solution as to how to achieve this to be stored in Table "PA_EXPENDITURE_ITEMS_ALL" (Expenditure Item DFF)
Kindly request you to help us in this resolution
Thankyou in advance
Kiran

Hi,
I have already thought of that process. Thanks anyway for taking time to reply my question.
There are scenarios in which, i think, this approach can create problem.
* In case employee forgets to register his/her punch out then our dummy value will remain intact and will be treated as final value. This is because there are huge number of employees and it is quite unfeasible to point out which dummy values is left out without update of real punchout value.
* As this process of transferring data in to Oracle time card will be "real-time", employees and supervisors will be able to see dummy data as end-time. This might create problem in case someone confuses it with real data. Second, if, in fact, such an occurrence has happened then?
Thank you anyway. Hope Oracle comes out with something to meet this requirement in future.
Regards,
Saurabh

Similar Messages

  • Open a new popup window in OTL Create timecard page

    I am have created a new item called button on the create timecard page in OTL. when i click on the button it opens up a new window which runs a function in it. I want to set the properties of the new window like remove toolbar,location and menubar. when i set the properties in Target Frame I dont see any change in window style.
    The proerties of the button are
    Item Style Button
    Property Value
    *ID BIO_PROJ
    Access Key
    Additional Text
    Admin Personalization truefalse
    Attribute Set
    CSS Class
    Comments
    Data Type VARCHAR2DATEDATETIMENUMBERBOOLEANCLOB
    Destination Function :BIO_PROJ_INFO
    Destination URI :OA.jsp
    Disable Server Side Validation truefalse
    Disabled truefalse
    Export View Attribute
    Extends
    Horizontal Alignment centerleftrightstartend
    Prompt
    Rendered truefalse
    Scope
    Target Frame =javascript:window.open("","Last 10 Projects","location=0,toolbar=0,menubar=no")
    View Attribute
    View Instance
    Warn About Changes truefalse
    Please help
    Thanks

    What I usually do in this case is place a javascript function at the end of the processRequest method:
    String function = "function openWindow(pageUrl,windowName){window.open(pageUrl,windowName,'width=725,height=520,menubar=no,location=no,toolbar=no,scrollbars=yes,resizable=yes');}";
    pageContext.putJavaScriptFunction("openWindow",function);
    The I can put the destination of a link or button as javascript:openWindow(url,name)

  • Oracle apps 11i - customization in Create Timecard link in Standard OTL page

    Hi everyone,
    I have got a requirement to add some functionalities in oracle 11i - Create Timecard link in standard OTL page .Mentioned below is the Requirement.
    When the engineer clicks the 'Save' button in the create timecard link in OTL page, it should save the time card and check the status of the timecard.If the specific timecard being saved is either "approved" or
    "submitted", a pop-up notification should warn the Engineer.
    Warning:
    "Warning – By clicking yes, all previously submitted versions of this timecard will be retracted. The Timecard will need to be resubmitted and reapproved. Are you sure you wish to continue? Yes, No"
    If engineer clicks YES, then an email notification should send to engineer and Manager ,notifying them that the timecard has been retracted and will need to be resubmitted.
    If the timecard has never been saved before or is currently pending or rejected let the engineer save the timecard without showing the warning and normal process should follow.
    Can anyone help me out here.I wanted to know the complexity of the issue.
    Which method should be adopted to do this.? Can anyone tell me which logic needs to be implemented here.
    Thanks,
    Sukanya

    Hi Kristofer,
    When the Employee pressed the Save button and if the status of timecard is Approved/Submitted , a popup should display.
    I have created a page with two buttons (Yes and No) with  warning  "By clicking yes, all previously submitted versions of this timecard will be retracted. The Timecard will need to be resubmitted and reapproved. Are you sure you wish to continue?"..
    If Employee pressed Yes...I need to save the timecard and normal process should follow..
    Here even if I called the PFR of the TimecardListCO(Standard) controller, It's not working.
    Is there a way to create the page dynamically with two buttons ?So that I can write the code in the extended controller itself rather than creating a new page.
    Which method should I follow to implement this?
    Kindly provide your suggestion...
    Thanks,
    Sukanya

  • Need to customize create timecard page of OTL

    Hi All,
    I need to personalize create timecard page of OTL. I need to add task description column.
    Page for timecard is /oracle/apps/hxc/selfservice/timecard/webui/TcActivitiesPG.
    In this page I am not able to find project and task field. After analyzing I found when I click on Create timecard a form function is being called, in which the Web Call is metioned as OA.jsp?akRegionCode=HXCTIMECARDACTIVITIESPAGE&akRegionApplicationId=809&FromActivities=N&Action=Create&ResourceType=PERSON.
    Now I want to know where and how can I find HXCTIMECARDACTIVITIESPAGE.
    Is there and database query which tells me the path of a page/region by passing the name as parameter.
    Thanks
    Bhupendra
    Edited by: user8884558 on Apr 12, 2013 12:01 AM

    There is responsibility : AK Developer
    you need to go to this resp and open Define Regions
    then search for your HXCTIMECARDACTIVITIESPAGE

  • Trying to create LOV in OTL -Project timecard.

    Trying to create LOV in OTL -Project timecard.
    Error Message :Cannot find LOV view object (LocationLOVVO) in LOV AM.
    Please suggest where I am wrong
    while creating the LOV.
    code for layout:
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout - Location"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "LOCATION"
    REGION_CODE = "HXC_CUI_TIMECARD"
    REGION_CODE_APP_SHORT_NAME = "HXC"
    ATTRIBUTE_CODE = "HXC_TIMECARD_LOCATION"
    ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
    SEQUENCE = "240"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2004/05/24"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Location"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "LocationLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "CuiLocationLovRN"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "HxcCuiLocationCode|LOCATION-DISPLAY|CRITERIA|N|HxcCuiLocationId|LOCATION|RESULT|N|HxcCuiLocationCode|LOCATION-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "LocationCode"
    QUALIFIER_ATTRIBUTE9 = "LocationId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "oracle.apps.hxc.selfservice.timecard.server.LocationLOVVO"
    QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
    QUALIFIER_ATTRIBUTE20 = "N"
    QUALIFIER_ATTRIBUTE21 = "Y"
    QUALIFIER_ATTRIBUTE22 = "L"
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    QUALIFIER_ATTRIBUTE27 = "Attribute4"
    QUALIFIER_ATTRIBUTE28 = "LOCATION"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    VO Query
    select location_id , location_code from hr_locations

    Is this issue only on one PWA instance? From your opening paragraph am I correct in thinking this works fine on another PWA instance on the same farm? Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Is there a way to create Timecard Templates from backend?

    Hello Folks
    Is there a way to create Timecard Templates from backend? I tried to create one with the following steps, but did not work. Throws a HXC_HXT_DEP_VAL_ORAERR
    The Oracle error is: &ERROR
    1. Create TIMECARD_TEMPLATE scope BB using hxc_timestore_deposit.create_bb
    2. Create Template_Name Attribute on the above BB
    3. Create DAY BB
    4. Create DETAIL BB for DAY BB
    5. Create Attribute BB for Hours Worked element on the DETAIL BB above
    6. Call hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    --p_retrieval_process   => 'BEE Retrieval Process'
    , p_template => hxc_timecard.c_yes
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    Any help would be greatly appreciated.
    Thanks
    Srinivasa

    Tim
    Application Release is 12.0.4, those notes do not help. Here is the complete script.
    declare
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    --l_token_table                  hxc_deposit_wrapper_utilities.t_simple_table;
    l_blocks hxc_self_service_time_deposit.timecard_info;
    l_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_tc_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_day_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_detail_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_existing_tc_id hxc_timecard_summary.timecard_id%TYPE:= NULL;
    l_deposit_process hxc_deposit_processes.NAME%TYPE:= 'OTL Deposit Process';
    l_count_building_block PLS_INTEGER;
    i PLS_INTEGER;
    l_message fnd_new_messages.message_text%TYPE;
    l_approval_style_id NUMBER;
    l_new_timecard_id NUMBER;
    l_tc_days_counter NUMBER;
    l_new_timecard_ovn NUMBER;
    l_resp_id NUMBER := 50597; -- Responsibility US Employee Services
    l_application_id NUMBER := 809; -- Application HXC
    l_user_id NUMBER := 118189; -- FLORESR
    begin
    -- 1. Set Apps Context
    fnd_global.apps_initialize (l_user_id, l_resp_id, l_application_id);
    -- 2. Get Approval Style ID
    l_approval_style_id := TO_NUMBER(hxc_preference_evaluation.resource_preferences(411669,'TS_PER_APPROVAL_STYLE',1,SYSDATE));
    dbms_output.put_line('l_approval_style_id = '||l_approval_style_id);
    -- 3. Create TIMECARD_TEMPLATE BB similar to the logic in hxc_timestore_deposit.create_timecard_bb passing the scope as TIMECARD_TEMPLATE instead of TIMECARD
    -- We are starting with a new timecard so clear the global tables
    -- hxc_self_service_time_deposit.initialize_globals;
    -- Also clear the local PL/SQL table
    -- hxc_timestore_deposit_util.clear_building_block_table(p_app_blocks => l_tbl_timecard_info);
    l_count_building_block := l_tbl_timecard_info.LAST;
    -- PROCEDURE clear_building_block_table (
    -- p_app_blocks IN OUT NOCOPY hxc_block_table_type
    -- 'generate' a TBB ID
    IF (l_count_building_block IS NULL)
    THEN
    l_tc_bb_id := -2;
    -- never start at -1 because that has a special meaning in the deposit
    ELSE
    l_tc_bb_id := - (l_count_building_block) - 2;
    END IF;
    dbms_output.put_line('Creating Timecard');
    hxc_timestore_deposit.create_timecard_bb (p_start_time => fnd_date.canonical_to_date ('2011/09/26 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/10/09 23:59:59')
    ,p_resource_id => 411669
    ,p_resource_type => hxc_timecard.c_person_resource
    ,p_approval_style_id => l_approval_style_id
    ,p_comment_text => 'Come on start working'
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_tc_bb_id
    hxc_timestore_deposit.create_bb (p_time_building_block_id => l_tc_bb_id
    ,p_type => hxc_timecard.c_range_type
    -- p_measure => DEFAULTS TO NULL
    ,p_unit_of_measure => NULL
    ,p_start_time => fnd_date.canonical_to_date ('2011/09/12 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/09/25 23:59:59')
    ,p_parent_building_block_id => NULL
    -- Timecard Template does not have a parent -- May need to check on this parameter
    ,p_parent_is_new => NULL
    ,p_scope => hxc_timecard.c_template_scope -- Template Scope
    -- p_object_version_number => DEFAULTS TO 1
    -- p_approval_status=> p_approval_status
    ,p_resource_id => 411669
    ,p_resource_type => 'PERSON'
    ,p_approval_style_id => l_approval_style_id
    -- p_date_from => DEFAULTS TO SYSDATE
    -- p_date_to => DEFAULTS TO hr_general.end_of_time
    ,p_comment_text => 'Template Trials'
    -- p_parent_building_block_ovn => DEFAULTS TO NULL
    -- new => DEFAULTS TO 'Y'
    -- changed => DEFAULTS TO 'N'
    ,p_app_blocks => l_tbl_timecard_info
    dbms_output.put_line('After creating Timecard l_tc_bb_id = '||l_tc_bb_id);
    -- 4. Create PRIVATE TEMPLATES Attribute Category and Template Name passed from UI
    dbms_output.put_line('Creating Template_Name Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Name'
    ,p_attribute_value => 'Trial Template from Code'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Template_Type Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Type'
    ,p_attribute_value => 'PRIVATE'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    -- Below will be in a loop later
    -- 5. Create the DAY BB
    dbms_output.put_line('Creating DAY BB');
    hxc_timestore_deposit.create_day_bb(p_day => fnd_date.canonical_to_date('2011/09/26')
    ,p_parent_building_block_id => l_tc_bb_id -- returned by create_timecard_bb
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_day_bb_id
    dbms_output.put_line('After Creating DAY BB l_day_bb_id = '||l_day_bb_id);
    -- 6. Create DETAIL BB for first shift, lunch and second shift
    dbms_output.put_line('Create DETAIL BB for first shift, lunch and second shift');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 06:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 65172');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'65172' -- 02 Unpaid Lunch
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 14:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    -- 7. Deposit the Template
    dbms_output.put_line('Deposit the Template ');
    hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    -- ,p_retrieval_process => 'BEE Retrieval Process'
    , p_template => 'Y'
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    COMMIT;
    dbms_output.put_line('l_new_timecard_id = '||l_new_timecard_id);
    IF (l_tbl_messages.COUNT <> 0) THEN
    i := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i));
    l_message := fnd_message.get_string (appin => l_tbl_messages (i).application_short_name,
    namein => l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_message);
    i := l_tbl_messages.NEXT (i);
    END LOOP;
    END IF;
    end;

  • Personalizing LOVs in Create Timecard

    Hello,
    i have to personalize the "Create Timecard" page in "Self Service Time and Expenses" under Apps 11.5.10.
    If I choose the "Personalize page" link, in the personalized I find the following structure:
    Page Layout: Time Entry >
    Stack Layout: Recent Timecards >
    Stack Layout: Timecard Container >
    Table Layout: Required Field
    I have to make my changes at this level, but I can't find the items I must modify. I[b] have to Personalize Project, Task, Type LOVs, but I don't find them in the Personalization Structure!!!) How to Personalize these items ?.
    I've also gone through metalink document 304340.1 but not find anything regarding how to Personalize LOVs functionally.
    Can you help me, please?
    Thanks a lot.

    Time and Labor (OTL) has it's own method of configuring the timecard layout - have a look at the documentation on the OTL layout configuration. You can create as many Timecard layouts as you want, but when we did this it involved using FNDLOAD to dump an existing layout, modifying the ldt file and then loading up the new layout with FNDLOAD. Who gets which Timecard Layout is driven off the OTL Preferences, which would be why you saw different Create Timecard pages for different users.
    We haven't done exactly what you are trying to do, but we have created a custom LOV and to get that called from the Create Timecard screen we need to create a custom Timecard layout that referenced the custom LOV and then update the preference groups to use the new custom Timecard layout.
    Having said that, the content of the LOVs are not driven off the Timecard layouts (but how they are called is) - they are just OAF regions as far as I know. I thought that we had used personalisation on one of the standard LOVs to reorder columns, but that was back on 11.5.9, so I don't know whether the 11.5.10 changes in personalisation have affected that.

  • Custom VO for OTL Custom Timecard Error in R12

    Hello All,
    I am very new to OA Framework and JDev so first let me write down the steps I did before I got the error on one of the LOVs on timecard page.
    1. Created a database view called HXC_CUSTOM_VIEW with only 2 columns
    2. Created VO via Jdev in read only mode. Hardcorded the values in CustomLOVVO.xml as,
    RowClass="oracle.apps.fnd.framework.server.OAViewRowImpl"
    ComponentClass="oracle.apps.hxc.selfservice.timecard.server.CustomLOVVO"
    Generated the JAVA as CustomLOVVOImpl. Compiled the project and got .class file.
    3. Transfered .xml and .class files onto the server under $JAVA_TOP/hxc/selfservice/timecard/server. CHMOD to 777 for both files.
    4. As I am on R12, logged onto application and clicked on responsibility "AK HTML FORMS". Created Attributes and Region and added Region Items.
    Covered important details while creating Region such as,
    "oracle.apps.hxc.selfservice.timecard.server.TimecardAM"
    "oracle.apps.hxc.selfservice.configui.webui.LovCO"
    5. Added 2 items under the Region.
    6. Modified the timecard .LDT file and add the code to include LOV.
    7. Bounced apache and logged into OTL Self-service. Clicked on create timecard, entered value for all fields and when on click on the LOV icon for this item I get the below error,
    =======================================================
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 3 with java object of type java.lang.String due to java.sql.SQLException.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2844)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1834)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:532)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:420)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column index
    =======================================================
    Need help and pointers to troubleshoot this proble. I have hit the wall and not getting any solution.
    Thanks an advance.

    Editing Oracle seeded files is not recommended as they are not upgrade/ patch safe. Read OTL impl white paper for your custom LOV requirements, They have explained well.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                   

  • Showing multiple expenditure types in OTL Projects Timecard Layout

    Does anyone know how to limit the expenditure types that show up in the standard OTL Projects Timecard Layout? I have two expenditure types for straight time classifications, Labor and Contingent Labor and I only want to show Labor for employee timecards. I can limit the expenditure type in the Projects-Purchasing Layout using Alternate Names, but that doesn't seem to work for the standard projects layout? Any help would be appreciated! Thanks for your assitance!

    We were able to customize the list through the view for the expenditure types.

  • How to personalize "Create Timecard"

    Hello,
    i have to personalize the "Create Timecard" page in "Self Service Time and Expenses" under Apps 11.5.10.
    I have read the Personalization Guide and I have followed the tutorial without problems, but I can't modify this page because I can't find the items.
    If I choose the "Personalize page" link, in the personalized I find the following structure:
    Page Layout: Time Entry >
    Stack Layout: Recent Timecards >
    Stack Layout: Timecard Container >
    Table Layout: Required Field
    If I hide the "Stack Layout: Timecard Container" all the content in the "Create Timecard" page disappears. So I think I have to make my changes at this level, but I can't find the items I must modify (i.e. I have to hide the "Overriding Approver" and the "Template" fields, but I don't find them in the Personalization Structure!!!
    I have also tried to make customization to the "Timecard Container Shared Region", but the problem is the same: I can't find the items I have to hide.
    It seems that the entire section is rendered by the "Table Layout: Required Field" shared region, but in this region there are no items and there is nothing I can personalize.
    Can you help me, please?
    Thanks a lot.
    Bye
    Raffy

    If you're using Unix or Linux:
    1. create symbolic links for all midtier xml and class files in one directory
    2. create symbolic links for all uix files downloaded from MDS (if MDS is used) in another directory
    3. $ grep <keyword> *.xml
    4. $ strings *.class | grep <keyword>
    *** The keyword can be "Overriding Approver", "Template" and the uniq text on the pages you're working on.

  • Not able to post the Time for already created timecard

    Hi All,
    I have a question on OTL, already time is posted for a week say 29-MAY-2010 to 06-JUN-2010 (for 5 working days), now I need to post the time on saturday & sunday too.
    I'm using all the mentioned API's given by the oracle. But while processing the API's, it is throwing an error saying 'Time is already posted for this period'.
    Time is posted for the week (start date & end date) but not on saturday & sunday.
    Can any one help me out of this issue.
    Below is the list of API's I'm using.
    1.hxc_timestore_deposit.create_timecard_bb - To create the timecard for the period (in this case it is week)
    2.hxc_timestore_deposit.create_day_bb - To create the day wise records for the above timecard id.
    3.hxc_timestore_deposit.create_detail_bb - To create the detail hours for the above day wise records.
    4.hxc_timestore_deposit.execute_deposit_process - To submit the timecard for the approval.
    Thanks in advance..
    --Raja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Can you share your code you are using for update? It looks like you are treating the update case as create case. Make sure you use the update apis' during timecard update.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                           

  • OTL: Purchasing timecard attributes for Contingent worker

    Hi,
    I am trying to create a timecard for a Contingent worker (a purchasing timecard).
    Using the APIs, I am able to create the timecard in the specific template (having PO NUmber & PO Line Number).
    But the issue I am facing is :
    All the fields are getting populated (project, task, line number), but the 'PO Number' & 'Type' are not getting populated.
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
    p_attribute_name => 'Expenditure_Type',
    p_attribute_value => 'Contract Performance Manager',
    p_deposit_process => 'Projects Deposit Process',
    p_app_attributes => l_tbl_attributes_info);
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
    p_attribute_name => 'PO Price Type',
    p_attribute_value => 'Standard Rate',
    p_deposit_process => 'Projects Deposit Process',
    p_app_attributes => l_tbl_attributes_info);
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
    p_attribute_name => 'PO Header Id',
    p_attribute_value => P_PO_HEADER_ID,
    p_deposit_process => 'Projects Deposit Process',
    p_app_attributes => l_tbl_attributes_info);
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_st_id,
    p_attribute_name => 'PO Line Id',
    p_attribute_value => P_PO_LINE_ID,
    p_deposit_process => 'Projects Deposit Process',
    p_app_attributes => l_tbl_attributes_info);
    * PO Line number is getting populated correctly.
    Please help !!!
    Thanks,
    Sambit

    Did you change the Application set to Proj and Payroll? Also can you put a description of what exactly you want to do with respect to payroll element so that we can gauge the exact layout and setup required.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • OTL:Generate Timecard Tasks based on the Period selected on the Period LOV

    Hi,
    I want to generate the Tasks' LOV Based on what is selected on the Period LOV. It must only list Tasks that are valid/active for the select Period LOV.
    I want to integrate the "validation/condition" in the script to generate the PA_ONLINE_TASKS_V view.
    Best regards,
    Ernest

    Ernest,
    OTL renders the LOV through its own rendering mechanism and is a wrapper over OAF LOV component. Hence you won't be able to treat it like a normal LOV as it gets rendered at runtime based on layout ldt file.
    But you sure can have the LOV based on a previously selected item inside Timecard matrix. Considering your case, the Period list is not inside the matrix, hence your LOV cann't refer to that. But instead if you are willing to use a package choice list, you can get access to the Start date of the selected time period through bind parameter TIMECARD_BIND_START_DATE. Hence my suggestion would be to use a package choice list and use your VO in the function used for choice list.
    Instead if you want to use LOV only, make a hidden package choice list where you default it to the Timecard start date through a custom function attached to it and so you
    have a field with start date inside the matrix.
    Let me know, how it goes.

  • OTL Projects Timecard default task

    Hi,
    Most of our projects have ony one task. So after the selection of the project we want the task to be defaulted automaticly.
    Has anyone tried this already?
    Mark

    Hi Jit,
    thanks for your answer.
    The layout I am using is the following:
    Layout Name : Projects Timecard Layout
    Layout Code : PROJECTS-TIMECARD
    Layout Type : TIMECARD
    Filename : hxczzhxclayt0019.ldt
    The fileds in the layout are the fiollowing:
    Project(LOV) -- Task(LOV) -- Expenditure Type(LOV) -- Day1(TextInput) -- Day2(TextInput) -- Day3(TextInput) -- Day4(TextInput) -- Day5(TextInput) -- Day6(TextInput) -- Day7(TextInput)
    The field 'Proyect' and Expenditure Type, are loaded automatically, but the field Task, initially is in blank, and the user has ti fill it manually.
    I am not sure if I should use ldts and AK developer flexfields to achieve in filling the task field, or I should use OA Framework, extending any bj4 object.
    Can you help me please?
    Thanks in advance,

  • OTL Recent Timecard , Emoloyee name display

    Hi Gurus,
    Could you please tell me how to change the Employee name display in the Recent Timecards page. I can change that in timecard entry, review and confirmation pages since those pages are based on layout files.
    I could not figure out how to do the same in Recent Timecards Page. Is there any layout or region which i can look at? Any help in this is highly appreciated.
    Thanks,
    Sathish

    Make a copy of the seeded rule and modify as per the requirement. It should work.
    --Shiv                                                                                                                                                                                       

Maybe you are looking for