Accrual on Time Card

I have to display the Accrual balance on timecard.
I have configured the same and it showing accrual balance in hours
I want to show it in days.
How can this be done ?
Rgds - Priya

If your accrual logic is in hours, then how will you be displaying it in days ?

Similar Messages

  • OTL -What happens to the rejected time card?

    Hi All,
    Can u pls clarify me this question on OTL? We have 2 buckets on time card. One is 1) On time bucket (Element) 2) Late hours bucket.(Element)
    We r using entry level approver where only the time entries with Late hours will be sent for apprval. Other time entries will be auto approved.
    Here the context is that the employee is seeking an excuse for coming late and hence the late hours are being sent for approval.
    Now when the approval is rejected, what happens to that time card? will it force the employee to submit that rejected time card?
    Or can the employee be still be able to submit the new cards without bothering abt the rejected time card?
    When the approval is rejected, it measns that the excuse is denied and later when we run the report we want to know
    the excused and non excused late entries.
    So i just want the employee to receive notification that it got rejected and the system should not force him to submit the rejected time card.
    Can you please answer this ?
    also all our time entries will be coming from swipe manchine. Is there a way we can make these entries just read only for the employee?
    Thanks in advance.
    Kiran

    Hi,
    Now when the approval is rejected, what happens to that time card? will it force the employee to submit that rejected time card?
    Or can the employee be still be able to submit the new cards without bothering abt the rejected time card?
    ----It won't force the employee to resubmit, the employee will be allowed to submit new timecards for a different period, but if for the rejected time period he has to use the rejected timecard and resubmit it.
    When the approval is rejected, it measns that the excuse is denied and later when we run the report we want to know
    the excused and non excused late entries.
    So i just want the employee to receive notification that it got rejected and the system should not force him to submit the rejected time card.
    ----The system will not force him to submit the rejected time card unless he tries to submit a timecard for the same time period.
    Can you please answer this ?
    also all our time entries will be coming from swipe manchine. Is there a way we can make these entries just read only for the employee?
    ----Could you please clarify your question on the "we can make these entries just read only for the employee?"
    Regards,
    Senthil
    Edited by: Senthilkumar Chandrasekaran on 27-Oct-2010 01:39

  • Error while creating Time Card Using API

    Hello
    I have a requirement to run OTL Interface once day to create/update Time Card in OTL for those datea created on sysdate-1 in Service Module (data will get feeded from Service Module). For example this interface will run on sysdate to create time cards for those data created in the service module on sysdate-1.
    I have some sample data and code I am using but it is erroring out with different errors..Can anybody help me on this
    My Interface should run as expected below and my time card range will be Monday 24-Dec-2012 to Sunday 30-Dec-2012
    Interface Run Date Time Entry to process
    25-Dec-2012 24-Dec-2012 Data
    26-Dec-2012 25-Dec-2012 Data
    CREATE OR REPLACE PROCEDURE main_process (o_errbuf OUT VARCHAR2,
    o_ret_code OUT NUMBER,
    l_chr_from_date IN VARCHAR2,
    l_chr_to_date IN VARCHAR2)
    IS
    l_chr_skip VARCHAR2 (1);
    l_chr_task_exists VARCHAR2 (100);
    l_chr_error_msg VARCHAR2 (4000);
    l_num_tbb_id NUMBER;
    l_num_request_id NUMBER := fnd_global.conc_request_id;
    l_num_login_id NUMBER := fnd_global.login_id;
    l_num_user_id NUMBER := fnd_global.user_id;
    l_num_resp_id NUMBER := fnd_Profile.VALUE ('resp_ID');
    l_num_otl_appl_id CONSTANT NUMBER (3) := 809; -- This is the appl_id for OTL, do not change
    l_chr_proj_attr1 CONSTANT VARCHAR2 (7) := 'Task_Id';
    l_chr_proj_attr2 CONSTANT VARCHAR2 (10) := 'Project_Id';
    l_chr_proj_attr3 CONSTANT VARCHAR2 (16) := 'Expenditure_Type';
    l_chr_proj_attr4 CONSTANT VARCHAR2 (19) := 'Expenditure_Comment';
    l_chr_proj_attr5 CONSTANT VARCHAR2 (23) := 'SYSTEM_LINKAGE_FUNCTION';
    i_num_count NUMBER;
    i_num_rows_inserted NUMBER := NULL;
    l_chr_message fnd_new_messages.MESSAGE_TEXT%TYPE;
    l_chr_hdr_eligible VARCHAR2 (5);
    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_new_timecard_id NUMBER;
    l_new_timecard_ovn NUMBER;
    l_num_time_building_block_id hxc_time_building_blocks.time_building_block_id%TYPE;
    I NUMBER; --PENDING REMOVE
    l_message VARCHAR2 (2000); --PENDING REMOVE
    l_time_building_block_id NUMBER; --PENDING REMOVE
    CURSOR process_line
    IS
    SELECT ROWID ROW_ID, a.*
    FROM xxpowl.xxpowl_hxt_otl_intf a
    WHERE 1 = 1 --a.request_id = l_num_request_id
    AND a.status_flag = 'NEW' -- 'VALID'
    AND a.error_desc IS NULL
    AND a.service_activity_type IS NOT NULL;
    BEGIN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Entered From Date:'
    || (TO_DATE ( (l_chr_from_date), 'YYYY/MM/DD HH24:MI:SS')));
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Entered To Date:'
    || (TO_DATE ( (l_chr_to_date), 'YYYY/MM/DD HH24:MI:SS')));
    FND_GLOBAL.APPS_INITIALIZE (user_id => l_num_user_id,
    resp_id => l_num_resp_id,
    resp_appl_id => l_num_otl_appl_id);
    BEGIN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Inserting the data in the custom table XXPOWL_HXT_OTL_INTF');
    INSERT INTO xxpowl.XXPOWL_HXT_OTL_INTF (SR_NUMBER,
    PROJECT_TASK_OWNER,
    PROJECT_TASK_OWNER_PERSON_ID,
    PROJECT_ID,
    PROJECT_TASK_ID,
    ASSIGNEE,
    ASSIGNEE_ID,
    ASSIGNEE_PERSON_ID,
    ASSIGNEE_SUPERVISOR_PERSON_ID,
    TASK_NUMBER,
    PARENT_TASK_NUMBER,
    DEBRIEF_NUMBER,
    DEBRIEF_HEADER_ID,
    DEBRIEF_DATE,
    TASK_ASSIGNMENT_ID,
    DEBRIEF_OBJECT_VERSION_NUMBER,
    DEBRIEF_PER_COMPLETE,
    DEBRIEF_LINE_ID,
    DEBRIEF_PROCESS,
    SERVICE_ACTIVITY,
    SERVICE_ACTIVITY_TYPE,
    INVENTORY_ITEM_ID,
    ITEM,
    BUSINESS_PROCESS_ID,
    DEBRIEF_TRANSACTION_TYPE_ID,
    DEBRIEF_UOM_CODE,
    DEBRIEF_HOURS,
    CONV_DEBRIEF_IN_HOURS,
    DEBRIEF_START_TIME,
    DEBRIEF_END_TIME,
    DEBRIEF_SERVICE_DATE,
    NOTES,
    OTL_ELIGIBLE_FLAG,
    NOTIF_SENT_FLAG,
    NOTIF_ELIGIBLE_FLAG,
    ERROR_DESC,
    STATUS_FLAG,
    INITIAL_NOTIF_SENT_DATE,
    CREATION_DATE,
    CREATED_BY,
    LAST_UPDATE_DATE,
    LAST_UPDATED_BY,
    LAST_UPDATE_LOGIN,
    REQUEST_ID,
    INITIAL_REQUEST_ID)
    (SELECT b.incident_number sr_number,
    h.resource_name project_task_owner,
    h.source_id project_task_owner_person_id,
    b.external_attribute_1 project_id,
    b.external_attribute_2 project_task_id,
    jtf_task_utl.get_owner (d.resource_type_code, d.resource_id)
    assignee,
    d.resource_id assignee_id,
    jrre.source_id assignee_person_id,
    paa.supervisor_id assignee_supervisor_person_id,
    c.task_number task_number,
    (SELECT task_number
    FROM jtf_tasks_b z
    WHERE c.parent_task_id = z.task_id)
    parent_task_number,
    a.debrief_number,
    a.debrief_header_id debrief_header_id,
    a.debrief_date debrief_date,
    a.task_assignment_id task_assignment_id,
    a.object_version_number debrief_object_version_number,
    a.attribute1 debrief_per_complete,
    e.debrief_line_id debrief_line_id,
    cbp.name debrief_process,
    cttv.name service_activity,
    DECODE (cttv.attribute1,
    'Y', 'Service-Billable',
    'N', 'Service-Non Billable')
    service_activity_type,
    e.inventory_item_id inventory_item_id, --f.segment1 item,
    (SELECT segment1
    FROM mtl_system_items_b f
    WHERE e.inventory_item_id = f.inventory_item_id
    AND f.organization_id = b.inv_organization_id)
    item, --241 --Mater Org
    e.business_process_id business_process_id,
    e.transaction_type_id debrief_transaction_type_id,
    e.uom_code debrief_uom_code,
    e.quantity debrief_hours,
    (g.conversion_rate * e.quantity) conv_debrief_in_hours,
    e.labor_start_date debrief_start_time,
    e.labor_end_date debrief_end_time,
    e.service_date debrief_service_date,
    (SELECT note_tl.notes
    FROM JTF_NOTES_B NOTE, JTF_NOTES_TL NOTE_TL
    WHERE NOTE.JTF_NOTE_ID = NOTE_TL.JTF_NOTE_ID
    AND NOTE_TL.LANGUAGE = USERENV ('LANG')
    AND NOTE.SOURCE_OBJECT_ID = a.DEBRIEF_HEADER_ID
    AND note.jtf_note_id =
    (SELECT MAX (note1.jtf_note_id)
    FROM JTF_NOTES_B note1
    WHERE NOTE1.SOURCE_OBJECT_ID =
    a.DEBRIEF_HEADER_ID))
    notes,
    'Y',
    'N',
    'X',
    NULL,
    'NEW',
    NULL,
    SYSDATE,
    l_num_user_id,
    SYSDATE,
    l_num_user_id,
    l_num_login_id,
    l_num_request_id,
    l_num_request_id
    FROM csf_debrief_headers a,
    cs_incidents_all_b b,
    jtf_tasks_b c,
    jtf_task_assignments d,
    csf_debrief_lines e, --mtl_system_items_b f,
    mtl_uom_conversions g,
    jtf_rs_resource_extns_vl h,
    cs_business_processes cbp,
    cs_transaction_types_vl cttv --, cs_sr_task_debrief_notes_v notes
    jtf_rs_resource_extns_vl jrre,
    per_all_assignments_f paa
    WHERE a.task_assignment_id = d.task_assignment_id
    AND d.task_id = c.task_id
    AND c.source_object_id = b.incident_id
    AND c.source_object_type_code = 'SR'
    AND a.debrief_header_id = e.debrief_header_id
    AND e.uom_code = g.uom_code
    AND g.uom_class = 'Time'
    AND b.incident_owner_id = h.resource_id(+)
    AND e.business_process_id = cbp.business_process_id
    AND e.transaction_type_id = cttv.transaction_type_id
    AND d.resource_id = jrre.resource_id
    AND jrre.source_id = paa.person_id --= 181
    AND TRUNC (SYSDATE) BETWEEN paa.effective_start_date
    AND paa.effective_end_date
    AND TRUNC (e.last_update_date) BETWEEN TO_DATE (
    (l_chr_from_date),
    'YYYY/MM/DD HH24:MI:SS')
    AND TO_DATE (
    (NVL (
    l_chr_to_date,
    l_chr_from_date)),
    'YYYY/MM/DD HH24:MI:SS')
    AND NOT EXISTS
    (SELECT 1
    FROM xxpowl.XXPOWL_HXT_OTL_INTF old
    WHERE old.debrief_header_id =
    e.debrief_header_id
    AND old.task_number = c.task_number
    AND TRUNC (old.DEBRIEF_SERVICE_DATE) =
    TRUNC (e.SERVICE_DATE)
    AND old.DEBRIEF_TRANSACTION_TYPE_ID =
    e.TRANSACTION_TYPE_ID
    AND old.request_id <> l_num_request_id
    AND old.DEBRIEF_UOM_CODE = e.uom_code
    AND old.DEBRIEF_HOURS = e.quantity));
    i_num_rows_inserted := SQL%ROWCOUNT;
    fnd_file.put_line (fnd_file.LOG,
    'No of rows Inserted:' || i_num_rows_inserted);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || 'Error while Inserting debrief lines data into custom table.Error: '
    || SQLERRM
    || '. Exiting the interface without processing further';
    fnd_file.put_line (fnd_file.LOG, l_chr_error_msg);
    ROLLBACK;
    RETURN;
    END;
    FOR process_line_rec IN process_line
    LOOP
    l_chr_error_msg := NULL;
    l_tbl_timecard_info.delete;
    l_tbl_attributes_info.delete;
    l_tbl_messages.delete;
    l_new_timecard_id := NULL;
    l_new_timecard_ovn := NULL;
    l_num_time_building_block_id := NULL;
    l_chr_message := NULL;
    i_num_count := 0;
    l_num_tbb_id := NULL;
    BEGIN
    hxc_timestore_deposit.create_time_entry (
    p_measure => process_line_rec.conv_debrief_in_hours,
    p_day => TO_DATE ( (process_line_rec.debrief_service_date),
    'DD/MM/RRRR'),
    p_resource_id => process_line_rec.assignee_person_id,
    p_comment_text => process_line_rec.notes
    || '....Remove this notes in the code logic....Request Id:'
    || l_num_request_id, --pending lokesh
    p_app_blocks => l_tbl_timecard_info,
    p_app_attributes => l_tbl_attributes_info,
    p_time_building_block_id => l_num_time_building_block_id);
    fnd_file.put_line (
    fnd_file.LOG,
    'Step#1 completed, TIME_BUILDING_BLOCK_ID:'
    || l_num_time_building_block_id);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#1 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Classify Time
    -- Attribute1
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Task_Id',
    p_attribute_value => process_line_rec.project_task_id,
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#2 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute2
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Project_Id',
    p_attribute_value => process_line_rec.project_id,
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#3 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute3
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Expenditure_Type',
    p_attribute_value => 'Service-Billable',
    -- p_attribute_value=> 'Service-Non Billable',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#4 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute4
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'Expenditure_Comment',
    p_attribute_value => 'Expenditure Comment created by API',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#5 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    -- Attribute5
    hxc_timestore_deposit.create_attribute (
    p_building_block_id => l_num_time_building_block_id,
    p_attribute_name => 'SYSTEM_LINKAGE_FUNCTION',
    p_attribute_value => 'ST',
    p_app_attributes => l_tbl_attributes_info);
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#6 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM;
    END;
    BEGIN
    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_mode-> 'SUBMIT', 'SAVE', 'MIGRATION', 'FORCE_SAVE' or 'FORCE_SUBMIT'
    p_deposit_process => 'OTL Deposit Process',
    p_timecard_id => l_new_timecard_id,
    p_timecard_ovn => l_new_timecard_ovn);
    COMMIT;
    hxc_timestore_deposit.log_messages (p_messages => l_tbl_messages);
    IF (l_tbl_messages.COUNT <> 0)
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error in INSERT API CALL at Step#7 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM
    || '.API Error messages are:';
    i_num_count := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
    l_chr_message :=
    fnd_message.get_string (
    appin => l_tbl_messages (i_num_count).application_short_name,
    namein => l_tbl_messages (i_num_count).message_name);
    fnd_file.put_line (
    fnd_file.LOG,
    (l_tbl_messages (i_num_count).message_name));
    l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
    i_num_count := l_tbl_messages.NEXT (i_num_count);
    END LOOP;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (
    fnd_file.LOG,
    '**** Error.....Inside Exception Block in execute_deposit_process');
    BEGIN
    hxc_timestore_deposit.log_messages (
    p_messages => l_tbl_messages);
    EXCEPTION
    WHEN OTHERS
    THEN
    fnd_file.put_line (
    fnd_file.LOG,
    '*****Error....Inside Exception Block in hxc_timestore_deposit.log_messages.Error:'
    || SQLERRM);
    END;
    l_chr_error_msg :=
    l_chr_error_msg
    || 'Error in INSERT API CALL at Step#7 for the debrief line id: '
    || process_line_rec.debrief_line_id
    || '.Error:'
    || SQLERRM
    || '.API Error messages are:';
    IF (l_tbl_messages.COUNT <> 0)
    THEN
    i_num_count := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i_num_count));
    l_chr_message :=
    fnd_message.get_string (
    appin => l_tbl_messages (i_num_count).application_short_name,
    namein => l_tbl_messages (i_num_count).message_name);
    l_chr_error_msg := l_chr_error_msg || l_chr_message || '.';
    i_num_count := l_tbl_messages.NEXT (i_num_count);
    END LOOP;
    END IF;
    END;
    COMMIT;
    IF l_chr_error_msg IS NOT NULL OR l_new_timecard_id IS NULL
    THEN
    fnd_file.put_line (fnd_file.LOG,
    '***** Error *****' || l_chr_error_msg);
    o_ret_code := 1;
    END IF;
    BEGIN
    fnd_file.put_line (
    fnd_file.LOG,
    'Updating the status of the record in custom table for debrief_line_id:'
    || process_line_rec.debrief_line_id);
    UPDATE xxpowl.XXPOWL_HXT_OTL_INTF
    SET status_flag =
    DECODE (
    l_chr_error_msg,
    NULL, DECODE (
    l_new_timecard_id,
    NULL, 'FAILED',
    DECODE (SIGN (l_new_timecard_id),
    '1', 'SUCESS',
    'FAILED')),
    'FAILED'),
    time_building_block_id = l_new_timecard_id,
    last_update_date = SYSDATE,
    request_id = l_num_request_id,
    last_updated_by = l_num_user_id,
    error_desc = l_chr_error_msg
    WHERE ROWID = process_line_rec.row_id;
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_chr_error_msg :=
    l_chr_error_msg
    || '.Error while updating the status to SUCCESS.Error: '
    || SQLERRM;
    END;
    END LOOP; --process_line
    EXCEPTION
    WHEN OTHERS
    THEN
    FND_FILE.PUT_LINE (
    fnd_file.LOG,
    'Unknown/Unhandlled Exception Error......' || SQLERRM);
    o_ret_code := 2;
    END main_process;
    SHOW ERR;
    Error Messages:
    1. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_ROLLBACK_TIMECARDS_PK) violated.
    2. Error in INSERT API CALL at Step#7 for the debrief line id: 41011.Error:ORA-00001: unique constraint (HXC.HXC_LATEST_DETAILS_FK) violated
    Thanks a lot for the help!

    Hello
    We will get this error message when we run this from application other than "Time and Labor Engine". So try to run this concurrent program (if you registered as a conc. program) from Time and Labor Engine application.
    --Lokesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while entering the time card

    Hi,
    while entering the time card,I am getting the error in APPS.PA_OTC_API api.
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20020: Pa_Otc_Api ::: ->Validate_Otc_Data->Validate_Process :: Check for quantity being negative. : ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-01403: no data found

    Hi
    Please clarify where are you entering the time card.
    Is it on a form of Preapproved expenditures? Are you using OTL, or any other time application?
    Are you are trying to load transactions thru the PA interface?
    Dina

  • Adding Project Name in OTL Time Card

    Hello All,
    I have done the following Changes to display Project Name in OTL time Card in R12.1.3 with no luck, please let me know.
    1. Added Attribute28 as PROJECTNAME for Context - PROJECTS in OTL INformation Types - DFF
    2. Using AK Html Forms, Added HXC_CUI_PROJECT_NAME to HXC_CUI_TIMECARD
    3. Added Mapping PROJECTNAME
    4. Ran the Generate Flexfield and Mapping Information
    5. Modified and uploaded the ldt
    6. Made Changes to Preferences using OTL Application Developer to look at latest layout
    7. Bounced Apache Server
    BEGIN HXC_LAYOUTS "ZEN_PROJECTS-TIMECARD" "HXC"
    OWNER = "RSREENIV"
    DISPLAY_LAYOUT_NAME = "Z Projects Timecard Layout"
    LAYOUT_TYPE = "TIMECARD"
    TOP_LEVEL_REGION_CODE = "HXCCONFIGTESTCUI"
    LAST_UPDATE_DATE = "2012/01/06"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Projects Timecard Layout - Project"
    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"
    QUALIFIER_ATTRIBUTE6 ="HxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|HxcCuiProjectId|PROJECT|RESULT|N|HxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N|HxcCuiProjectName|PROJECTNAME|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    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 = "Attribute1"
    QUALIFIER_ATTRIBUTE28 = "PROJECT"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    ### Project Name Component start ###
    BEGIN HXC_LAYOUT_COMPONENTS "Projects Timecard Layout - Project Name"
    OWNER = "ORACLE"
    COMPONENT_VALUE = "PROJECTNAME"
    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 = "TEXT_FIELD"
    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 - Project Name"
    OWNER = "ORACLE"
    QUALIFIER_ATTRIBUTE_CATEGORY = "TEXT_FIELD"
    # Show Label (Component)
    QUALIFIER_ATTRIBUTE1 = "N"
    # Show Label (Parent Component)
    QUALIFIER_ATTRIBUTE2 = "N"
    # Field Width
    QUALIFIER_ATTRIBUTE3 = "20"
    # Field Height
    QUALIFIER_ATTRIBUTE4 = "1"
    # Style Class
    QUALIFIER_ATTRIBUTE17 = "OraInlineInfoText"
    # Display On New Line
    QUALIFIER_ATTRIBUTE20 = "N"
    # Show Outside Building Block
    QUALIFIER_ATTRIBUTE21 = "Y"
    # Outside Direction
    QUALIFIER_ATTRIBUTE22 = "L"
    # Access Method
    QUALIFIER_ATTRIBUTE25 = "FLEX"
    # Context
    QUALIFIER_ATTRIBUTE26 = "PROJECTS"
    # View Object Attribute
    QUALIFIER_ATTRIBUTE27 = "Attribute28"
    # Component Alias
    QUALIFIER_ATTRIBUTE28 = "PROJECTNAME"
    # Read Only
    QUALIFIER_ATTRIBUTE30 = "Y"
    LAST_UPDATE_DATE = "2004/05/24"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    ### Project Name Component end ###
    Edited by: 891594 on Jan 6, 2012 11:40 AM
    Edited by: 891594 on Jan 6, 2012 11:54 AM

    In extended controller processRequest method:
    Get the project ID, asssuming that you are passing project id through hash map.
    String prjId = pageContext.getParameter("ProectId_Parameter");
    Default the LOV item value using:
    OAMessageLovInputBean msglov = (OAMessageLovInputBean)webBean.findChildRecursive("ProjectId");
    if(msglov != null)
    msglov.setText(pageContext,"Hello");
    -Anand

  • Error when submitting Time card by Self Service Time responsibility

    "Online retrieval of absences for Mr. Atul Agarwal has failed. Please Contact your System Administrator. "
    When trying to submit a Time Card I am getting the above error. Can someone pls help???

    "Online retrieval of absences for Mr. Atul Agarwal has failed. Please Contact your System Administrator. "
    When trying to submit a Time Card I am getting the above error. Can someone pls help???

  • Time card issue in CATS

    Hi All,
    while trying to correct the error (via CAT2), system not allowing to delete  / correct time card entries, the error says Production order flagged for deletion,so we could not transfer time cards to CONTROLLING, due to this we could not close Nov.month.
    appreciate immediate response
    Thanks
    SD

    Each period is closed for posting after certain date.
    In CATS profile settings, if u tick "Take account of period lock", you would not be able to chnge/add for a period which is already closed in costing.
    You can change the posting date in the transfer program RCATSTCO(transfer to controlling) manually.

  • OTL Time Cards to PA Integration. - All Time cards are imported into One OU

    Hi,
    At our site, we have implemented OTL to support PA. (No Payroll/HRMS).
    We have created multiple selfservice Time Resp for each Operating Units. The MO Operating Unit for the responsibility is set to corresponding OU for each responsibility.
    The issue is that,
    When the Time cards are approved and the PRC: Transaction Import is ran for each operating unit (again difft responsibility for each OU), it is not importing the time cards into the respective OU in PA. Rather When we run the PRC: Transaction Import in US operating unit, all the Timecards are imported in the US OU.
    We found, For all the OTL time cards, the ATTRIBUTE1 for the "SECURITY" Attribute category is 84 (which is US OU) in hxc_time_attributes table.
    which configruation controls this ? Why the MO: Operating Unit is not used to populate the value or is there any other profile which needs to be set to get the right OU?
    Any help on this is greatly appreciated.
    Thanks
    Chidambaram

    Please check and confirm whether you have the profile 'HR:Business Group' set to corresponding BGs for the respective time entry responsibilities.
    --Shiv                                                                                                                                                                                                                                                                                                                       

  • Automatic Time Card Generation not generating Time Card

    Hi,
    I am running the program 'Automatic Time Card Generation'. The log file showing the message
    'The process did not generate any timecards for the Payroll, Payroll Period selected'.
    And there is no time card for the given Payroll month.
    Any suggestion for this.
    Many many thanks in advance.
    Regards,
    Subrat

    Please check metalink note 282547.1 to see it is relevant to your issue

  • OTL Time Card issue in Self Service

    Hi All,
    I am working in OTL. I m new to this module. Currently i am facing the below issue.
    In OTL, there is a validation of project and task when user enters time card.
    Whenever user enters time cards against the hour type which is not of PTO (e.g. regular) etc, project number
    and project task should be mandatory.
    It is working fine in OTL Time Keeper, but not working in Self Service Time Card.
    I am analyzing the issue but not getting the exact solution for the same.
    Kindly reply me to resolve it.
    Thanks in Advance
    Regards,
    Basaw

    HI all,
    can anyone suggest me what steps should i take to resolve this issue?
    Thanks in advance.
    Regards,
    Basaw

  • Getting a error when submitting Time card by Self Service Time responsibili

    *"Online retrieval of absences for Mr. Atul Agarwal has failed. Please Contact your System Administrator. "*
    When trying to submit a Time Card I am getting the above error. Can someone pls help???

    "Online retrieval of absences for Mr. Atul Agarwal has failed. Please Contact your System Administrator. "
    When trying to submit a Time Card I am getting the above error. Can someone pls help???

  • OTL Time card versions issue

    Hi,
    For a particular timecard.
    The timesheet has 2 versions.  The days has 2 versions, but the detail have 3.  So the max version number on the timesheet  is 2.  The max version number on the DAYS is 2.  But the max version number in the detail is 3. 
    My joins work as follows:
    timesheet.time_building_block_id=<timecard id>
    timeday.parent_building_block_id=timesheet.time_building_block_id and timeday.parent_building_block_ovn=timesheet.object_version_number and
    timedetail.parent_building_block_id=timeday.time_building_block_id and
    timedetail.parent_building_block_ovn=timeday.object_version_number
    Because of this, I am reporting incorrect results.
    A)  Is this normal?
    B)  How should I handle this?

    Duplicate post -- OTL Time Card issue in Self Service

  • Mounting 3 pairs of omron sensor E3X-F21 at 25mm intervals to measure time taken by moving object breaking beams and connecting to 6601 counter/timer card

    System is Windows ME Labview 6.1 6601 Counter/timer card. 3 pairs of Omron Photoelectric sensors E3X-F21 are mounted on a flat surface and as the object passes the first pair of sensors it starts timer1 and timer2.
    As the object passes the second pair of sensors it stops timer1 and as the object passes the third pair of sensors it stops timer2
    We have a known distance between the sensors so we are able to calculate the objects speed and position.
    We need a wiring diagram to connect the sensors to the 6601 card.

    I think I can describe a method that'll probably be simpler than the previous answer because it won't require any external logic circuitry.
    1. Configure two counters for "Two-Edge Separation" measurement, let's say counters 0 and 1.
    2. Wire Sensor 1's signal to both AUX-0 and AUX-1.
    3. Wire Sensor 2's signal to GATE-0.
    4. Wire Sensor 3's signal to GATE-1.
    5. Wire each sensors' 'ground' to the appropriate ground pins on your terminal block.
    6. Software configure both counters to use "max internal timebase" for a source -- 20 MHz for the 6601.
    You can specify the polarity of the transition you care about for both the AUX and the GATE signal, but I'll explain in terms of rising edges for both.
    Counter 0 will count time from Sensor 1's rising e
    dge until Sensor 2's rising edge. Counter 1 will count time from Sensor 1's rising edge until Sensor 3's rising edge. The count values will be in units of "# of 20 MHz cycles elapsed."
    You can probably get a decent starting point on the software using one of the shipped examples.

  • Reverse Time Card entries

    Hi,
    We would like to reverse the time card entried created by our employees in the previous period. These time cards are for billable employees and they were assigned to the wrong expenditure org. We cannot ask all the employees to reverse them as they can be errors while reversing them manually. Are there any apis available to reverse the time cards ? Quick Suggestions are much appreciated.
    Siva

    Each period is closed for posting after certain date.
    In CATS profile settings, if u tick "Take account of period lock", you would not be able to chnge/add for a period which is already closed in costing.
    You can change the posting date in the transfer program RCATSTCO(transfer to controlling) manually.

  • Adding Time (Time Card)

    I have a simple spreadsheet set up for calculating time worked on a job.
    I am using 4 columns "Date, Start Time, End Time, and Total Time".
    The last three columns are set up as time like 13:59
    The "Total Time" column has a formula like =SUM(C2-B2) to get the total time for that day.
    The problem I am having is trying to figure out how to get the Total of "Total Time"
    =SUM(D2..D19) When that cell is set to Time after 25 hours worked it will show only 1 hour I'm trying to add data like (4:30, 5:15, 6:45) but it only works for up to 24 hours
    Anyone know a good way to make a Time Card?
    Thanks
    darock

    I can not get either formula to compile.
    =IF(C2,C2-B2+(C2<B2),"")>
    that one will, if I remove the greater than sign
    =IF(C2,C2-B2+(C2<B2),"")                     *
    and it displays the correct time
    but
    The cell for D7 does not compile for me either
    =24(SUM(D2..D7))
    I have cells D2…D6 display as time ie 13:59
    and cell D7 as General</div>
    Sorry. Poor proofreading on my original post (or a glitch in the forum software, as I noticed that your edited version still showed the ">" at the end, although it did not show in the quoted version above). Your edited version is correct.
    Enter in D2, and fill down to D6: =IF(C2,C2-B2+(C2<B2),"")                * 
    Format these cells to display as Time.</i>
    Your D7 formula should produce a Circular reference error as you've included a reference to cell D7 in the formula. The cell range in this formula should be D2..D6, not D2..D7.
    Enter in D7: =24(SUM(D2..D6)) —to report the result in hours (eg. 25.678)
    Format the cell to display as Number, General.
    Regards,
    Barry
    *Edited. The large space and asterisk following two formulas is an (apparently unsuccessful) attempt to keep the > sign from displaying at the end of these lines. Definitely a glitch in the forum software! If Copying and Pasting these formulas, make sure you do NOT include any of the option-space characters following the actual formula.
    B

Maybe you are looking for

  • Report layout to pdf

    in pdf i am getting only the no of records processed but not the output, why ? if any one has sample code send me.

  • Interactive forms takes too long to load - sometimes crashes reader.

    Hi Gurus, I'm just wondering if anyone have this problem? I just configured ADS and created a sample WD program to display an interactive form, the form is not complex, only 2 text fields and an image. But when I deploy or run the program, the intera

  • Cannot start or uninstall iTunes

    Last night my power went off and caused me to have to do a system recovery on one of the users of my computer. While I was trying to figure out why the user's desktop was messed up I tried running Itunes. It said there was a new update so I went ahea

  • MX440 - T8X Can't get the card over 2X

    I have an MSI MX440 - T8X 64mb DDR vga card. (upto 8X agp)                MSI 694T - Pro Motherboard. (upto 4X agp)                Pentium 3 1Ghz.                512mb memory. I have installed uptodate bios for motherboard and vga card. Up to date vi

  • Can't finish importing photos from iPhone to iPhoto

    I have about 2,000 pictures in my iPhone 4. When I try to import my photos from iPhone to iPhoto Library, it stops importing after about 250 photos. Keeps saying 1,489 remaining(something like that) photos and the picture image on your iPhoto stops o