OTL Template customization - need timecard start date in projects LOV query

Hello Folks,
Can anyone help me with the below requirement?
We need to restrict the projects LOV on the seeded projects timecard so that a resource can only select the project he/she is currently assigned to. We will assign the resource as key member with start and end date. I could change the the view to restrict the projects LOV.
The problem is customer wants a date check. At a certain date, the page should be display only the project he is assigned to. On the projects view, I have used fnd_global.employee_id to get the resource details. How do we access the current timecard start or end date in the view?
Thank you.

SELECT fnd_profile.value('OTL_TK_START_DATE') FROM DUAL

Similar Messages

  • Unable to Change Project Start Date in Project Server 2013

    Dear All,
    I have created new EPT in Project Server 2013. After that, when i am creating any new project in PWA 2013 by using newly created EPT, then i am not able to change Date as per my requirement. 
    Basically, EPT created on 02/18/2015 & even though i am changing Project start date then its again showing same date (02/18/2015)
    Kindly suggest what i can do.

    Hello,
    Does this new EPT have a project plan template associated? What happens if you set the EPT not to have a plan template then create a new project from this EPT? Does that let you update the start date? The start date should default to today (date the project
    plan was created). If that works as expected, add the plan template back to the EPT (if you had one to start with) and test creating another project to see if that then works or you then get the same behaviour. This will point us to the cause hopefully.
    Do other EPTs work as expected?
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • Difference in Maintenance Plan date to Order basic start date

    If i creat a strategy plan and schedule, i am getting difference in PLan date in Maint plan to Basic start date. What is making this difference. How to overcome this. I need Order start date same as PLan date.
    Plz help me frnds.
    Guruprasad

    hi
    can you explain in details with your maintenance plan with the dates.Normally your call date and plan date will be different becase of call horizon ,but the order basic start date and plan date will be equal only
    kindly revert back
    regards
    thyagarajan
    your order basic date will be when you have maintenance call is generated.kindly check
    Edited by: thyagarajan krishnamurthy on Feb 25, 2009 9:46 AM

  • How to calculate start date of the week based on week number ?

    i need to get week number of the current date and based on that i need to calculate start date falling in the same week for last year.
    Eg. today is 31st week of year and 31st july date. so what will be the date on the 31st week of last year. i need the start date of that week.
    we can calculate the week number by select to_char(sysdate,'ww') from dual.
    DO we have a single line query for that or will it require writing a pl/sql block ?

    you can try following query
    it can be as inline but for more clean look and create it as select with include select
    with t as
    (select sysdate as dt from dual)
    select to_char(prev_year_dt - to_char(prev_year_dt, 'D') + 1, 'DD.MM.YYYY') as start_of_week from (select
    -- get day from prev year with the same week number
        case
               when to_number(to_char(add_months(dt, -12), 'WW')) > to_number(to_char(dt, 'WW')) then
                dt - (to_number(to_char(add_months(dt, -12), 'WW')) - to_number(to_char(dt, 'WW'))) * 7
               when to_number(to_char(add_months(dt, -12), 'WW')) < to_number(to_char(dt, 'WW')) then
                dt + (to_number(to_char(dt, 'WW')) - to_number(to_char(add_months(dt, -12), 'WW'))) * 7
               else
                add_months(dt, -12)
           end as prev_year_dt
      from t) t1good luck
    Sergii
    'Monday' is not first day of week in 100% ;)
    Edited by: Galbarad on Jul 30, 2012 11:00 PM

  • Download of incorrect start date using Open PS.

    When project is downloaded from R/3 PS to MS Projects, and 'Download actuals' has been set in 'Object type' settings , incorrect start date gets downloaded everytime any project is downloaded.( In this case 30 Nov 99 ).
    Have already checked the start date in Project definition in R/3 PS and also the Project information in MS Projects. The source of the incorrect start date remains unknown.

    Hi Nidhi
    In addition to my earlier reply, pl also check the following:
    1.  Time Settings
    Microsoft Project only supports the following ISO time units: minutes, hours, days, weeks, and as of Microsoft Project 2000, months. If you use other time units in your SAP R/3 projects, you must define conversion factors.
    2.  .Dates
    The project information in Microsoft Project is updated with the information in the project definition in SAP R/3. If the start date is not available in the SAP R/3 project definition, then the start date in Microsoft Project is the start date of the task that gets started first. If the finish date is not available in the SAP R/3 project definition, the finish date is the finish date of the task that gets completed last in Microsoft Project.
    <b>If any task starts before the project start date, the project start date is pushed back to the start date of the task that begins first.</b>
    <b>If any task ends after the project end date, the project end date is pushed forwards to the end date of the task that ends last.</b>
    Reason for difference in dates could be above cited and hope this solve ur problem.
    Enjoy SAP.....
    Regards
    Sudhakar
    PS: Pl reward points for suitable answer

  • In backward scheduling system is asking starting date in planning Boar

    In my project i am using backward scheduling ,before going for scheduling i am delete the basic start date of project and network header .then i go to planning board and carrying scheduling now system is give me a popup "start date ".than i maintain the start date and carry the scheduling , in the backward scheduling starting is not required  and system is determine starting date also , why system is asking starting date please let me know any configuration changes in Planing board or scheduling parameter.
    Regards
    Rao

    Dear Abdul ,
    In opu6 in maintain starting in past 999
    and opu6 configurations
    adjust basic date -2
    scheduling type -backward
    start in past -999
    and check automatic scheduling,latest staging date
    in the control parameter for wbs scheduling also
    scheduling type -backward
    starting date -999
    scheduling method -wbs determine  dates
    and check-adjust basis date
    Regards
    Rao

  • Need to pass period start date as parameter to ProjectLOVVO in OTL module

    Hi All,
    I have a requirement of passing period start date as a parameter to ProjectLOVVO.
    It will check against the project's base view PA_ONLINE_PROJECTS_V and allow to
    display only those projects in the list where the project completion date and
    resource assignment end date is greater than the period start date.
    This VO is in Oracle Time and Labour Module. Navigation is SelfService Time> Create Timecard Screen.
    The screen is based on AK Developer.
    I have tried to followed the steps as per the document hxcconfiguiwp.pdf during the development work.
    Steps are mentioned below. It is still not working.
    Please go through the steps and if you have worked in this module please provide your valuable
    suggestion as soon as possible.
    Steps:
    1. Modified the customizable view PA_ONLINE_PROJECTS_V to
    keep the assignment end date in the select query.
    2. Created Custom VO- XXProjectLOVVO using JDeveloper same as ProjectLOVVO
    It's SQL Query is -
    SELECT project_number projectnumber,
    project_name projectname,
    project_details projectdetails,
    project_id projectid,
    start_date,
    completion_date,
    carrying_out_organization_id
    FROM pa_online_projects_v
    WHERE TRUNC(completion_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:1))
    AND TRUNC(assignment_end_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:2))
    3. Placed the class files (XXProjectLOVVO.xml and XXProjectLOVVOImpl.class) in Custom Directory in server.
    In location- apps_st/comn/java/classes/custom/oracle/apps/xxhxc/selfservice/timecard/server
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAM
    5. In AK Developer module created LOV Attributes 'XX_HXC_CUI_PROJECT_CO_ORG_ID', 'XX_HXC_CUI_PROJECT_END_DATE',
    'XX_HXC_CUI_PROJECT_ID','XX_HXC_CUI_PROJECT_NAME',
    'XX_HXC_CUI_PROJECT_NUMBER', 'XX_HXC_CUI_PROJECT_START_DATE'
    and created a LOV region 'XX_HXC_CUI_PROJECT_LOV attached to Database Object 'ICX_PROMPTS' in the Object
    and in Region items added all the above attributes.
    Added LovAM location in place of AM and LovCO lication in place of CO.
    6. Migrated the LOV with the below code
    begin
    hxc_lov_migration.migrate_lov_region
    (p_region_code => 'XX_HXC_CUI_PROJECT_LOV'
    ,p_region_app_short_name => 'HXC'
    ,p_force => 'Y'
    commit;
    end;
    7. Copied hxczzhxclayt0019.ldt LDT file from server. Renamed it to xhxczzhxclayt0019.ldt
    modified the Layout section for ProjectLOV
    BEGIN HXC_LAYOUT_COMPONENTS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    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 = "210"
    COMPONENT_DEFINITION = "LOV"
    RENDER_TYPE = "WEB"
    PARENT_COMPONENT =
    "Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
    LAST_UPDATE_DATE = "2010/11/10"
    BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Projects Timecard Layout - Project"
    OWNER = "CUSTOM"
    QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
    QUALIFIER_ATTRIBUTE1 = "XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE2 = "N"
    QUALIFIER_ATTRIBUTE3 = "XX_HXC_CUI_PROJECT_LOV"
    QUALIFIER_ATTRIBUTE4 = "809"
    QUALIFIER_ATTRIBUTE5 = "12"
    QUALIFIER_ATTRIBUTE6 =
    "XxHxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|XxHxcCuiProjectId|PROJECT|RESULT|N|XxHxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
    QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
    QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
    QUALIFIER_ATTRIBUTE10 =
    "custom.oracle.apps.xxhxc.selfservice.timecard.server.XXProjectLOVVO"
    QUALIFIER_ATTRIBUTE11 = "TIMECARD_BIND_START_DATE|TIMECARD_BIND_START_DATE"
    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 = "2010/11/10"
    END HXC_LAYOUT_COMP_QUALIFIERS
    END HXC_LAYOUT_COMPONENTS
    8. Used FNDLOAD command to upload the ldt
    FNDLOAD apps/apps@instance 0 Y UPLOAD /ad01/app/o2cdev/apps/apps_st/appl/hxc/12.0.0/patch/115/import/hxclaytlayoutsld.lct ./xhxczzhxclayt0019.ldt
    9. Bounch Apache
    10. Checked in below database table to check weather layout records are getting update or not and found records existing:
    In table hxc_layout_COMPONENTS where region_code = 'HXC_CUI_TIMECARD' and component_value = 'PROJECT' and SEQUENCE = 210
    and COMPONENT_NAME = 'Custom Projects Timecard Layout - Project'
    In table hxc_layout_comp_qualifiers where layout_component_id is as in layout component table.
    11. Checked that the XXProjectLOV is attached in the TimecardAM and LovAM. It is visible there but while quering for the project list its picking up all the projects irrelavant of start date parameter value .
    As if its picking up all the records from seeded LOv- ProjectLOV not custom LOV.
    Regards,
    K Bosu

    Hi
    this steps is wrong
    4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
    and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAMU cant add extended VO direct to standard AM .
    VO extension requires .jpx import ,that u have to do ,rest will be take care by this import itself and no need to modify standard AM .
    Please check the steps for VO extension in http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
    thanks
    Pratap

  • 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

  • Need to update the actual start date & time of a operation in workorder

    Hi Experts,
                   I need to update the Actual Start date and Actual start time of a Operation of  a WorkOrder through a Function Module.
    I was looking into the BAPI_ALM_ORDER_MAINTAIN FM, but i couldn't find any field relating to the actual start date and start time of a operation.
    Kindly Suggest me which Function module i can use to complete my task.
    Thanks in Advance
    bye

    Hi,
    It is system's standard behavior and no other MRP type will help you in moving the start date outside the planning time fence. With MRP type P3 new requirements are covered at the end of the fixing period, the end date is set and planed order is scheduled backword. Hence the start date will lie within the planning time fence.
    Rgds,

  • I need a function module for covert TRIP START DATE to TRIP FISCAL YEAR

    Actually my req is
    TRIP START DATE (z object) is coming from TRIP MASTER DATA TABLE.
    based on TRIP START DATE I have to update the fields like
                       1.TRIP FISCAL YEAR,
                       2.TRIP CALENDER YEAR,
                       3.TRIP FISCAL YEAR PERIOD
                       4.CALENDER MONTH
    in the cube.
    my FISCAL YEAR START from JULY 1st to JUNE 30th.
    i need a code for update rules.
    please help me out. its very urgent.
    Thanks in Adv.

    Hi Satya,
       Check these FM.
    GM_GET_FISCAL_YEAR
    'FTI_FISCAL_YEAR_MONTH_GET'
    DATE_GET_WEEK
    MC_PERIO_CONVERT_TO_WEEK_MONTH
    UMC_FISCPER_TO_CALQUARTER
    GET_CURRENT_YEAR
    'GET_CURRENT_YEAR' or FM 'FTI_FISCAL_YEAR_MONTH_GET'
    You can use GET_CURRENT_YEAR to find the Fiscal year of the entered date.
    CALL FUNCTION 'GET_CURRENT_YEAR'
    EXPORTING
    BUKRS = '1000' " Company Code
    DATE = SY-DATUM " Date to find fiscal year for
    IMPORTING
    CURRM = w_currm " Current Fiscal Month
    CURRY = w_curry " Current Fiscal Year
    PREVM = w_prevm " Previous Fiscal Month
    PREVY = w_prevy. " Previous Fiscal Year
    Enter the date you need in the place of sy-datum.
    FTI_FISCAL_YEAR_MONTH_GET Returns fiscal year for specific date
    Kindly reward points by clicking the star on the left of reply,if it helps.
    Regards,
    Vijay.

  • CRM-ISU: Need to change the END date and Start Date for contract items

    Hi,
    There is an old contract item for which  I need to change the end date
    and there is a new contract item for which I need to change the start date.
    I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
    I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
    but how to change the start date of a new contract item?
    Please let me know if any body is aware of this?
    Thanks

    Hi,
    Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
    Regards,
    Surjith

  • Need By Date Should be equal or after the effective start date- error in po_requisitions_interface_all

    Hi All,
    We have created a manual planned order for one buy item in ASCP workbench for some qty and released it.
    But, we are not able to get its requisition created in source.
    When we check the PO_Interface _Errors table, we found that it is errored out with error as --
    Need By Date Should be equal or after the effective start date .
    Can anyone please help me out to find the cause of this issue. Any help/pointer in this regard will be highly appreciated.
    Thanks,
    Avinash

    Hi Abhishek,
    We found the root cause of the issue.
    Its BPA was not having any Effective start date mentioned in its terms. So we put it as BPA creation date and ran the data collection and plan run.
    After that we were able to see its BPA release created without any error.
    Thanks,
    Avinash

  • Need start date & end date for MMYYYY

    HI ,
    I need to find start date & end date of MMYYYY.
    Is there any FM to do this??
    thanks
    Moderator comments: 1st warning.
    Pl read the rules of engagement & [Date questions not allowed|/thread/1360534 [original link is broken];
    Awarded points are unassigned & the thread is locked.
    Edited by: Suresh Datti on Aug 6, 2009 4:14 AM

    Hi Karthik,
    Try this way.
    REPORT ZTEST_NOTEPAD.
    PARAMETERS :p_month(2) type n,
                p_year(4)  type n.
    data:first_day LIKE  VTBBEWE-DVALUT,
         last_day  type datum,
         days(2)   TYPE c.
    "First date of the month
    CONCATENATE p_year p_month '01' INTO first_day.
    CALL FUNCTION 'END_OF_MONTH_DETERMINE_2'
      EXPORTING
        i_datum        = first_day
    IMPORTING
       E_TT           = days.
    "Last date of the month
    CONCATENATE p_year p_month days INTO last_day.
    WRITE:/ first_day,
          / last_day.
    Thanks
    Venkat.O

  • Need to change to starting dates of employees

    Hi All,
    I need to change the starting dates of two employees from apr-2012 to apr 2008, now if i end date the employee, how can i change the dates
    Regards,
    Sajid

    If I understand your goal, you may change the latest start date. You must be in the earliest person record to do this, but you can enter a new date in that field and save. It will change the accompanying assignment and salary records. However, if you do this any data on the records will have to exist as of the earlier start date. Work structures, for example, have to be dated early enough to accomodate this. If you are using Benefits and life events they will have to be reprocessed. There may be other things connected to the person record and hire date that have to be considered before doing this.

  • Need a Help in finding the start Date and End Date of a week

    Dear All,
    I need a help,
    I have a date for eg,05-08-2009 (Wednesday). i need to get the week's start date and week's end date.
    Week start date in my region is SATURDAY and week end date is FRIDAY .
    So for my given input it should return start date as 01-08-2009 (Saturday )and end date as 07-08-2009 (Friday ).
    Thanks,

    Got it, Solved by making a small changes to the above code .
                    SimpleDateFormat sf = new SimpleDateFormat("dd-MMM-yy");
              Calendar cal = Calendar.getInstance(Locale.ENGLISH);
              cal.set(Calendar.DATE, cal.get(GregorianCalendar.DATE));
              cal.set(Calendar.MONTH, cal.get(GregorianCalendar.MONTH));
              cal.set(Calendar.YEAR, cal.get(GregorianCalendar.YEAR));
              if(cal.get(Calendar.DAY_OF_WEEK) != Calendar.SATURDAY) {
                cal.add(Calendar.DATE, -cal.get(Calendar.DAY_OF_WEEK));
              String NewEndDate = sf.format(cal.getTime());
              cal.add(Calendar.DATE, -7);
              String newStartDate = sf.format(cal.getTime());
              System.out.println("New Start date :" +newStartDate);
              System.out.println("New End Date   :" +NewEndDate);Sorry, Dont want to hire any one . Just want to keep my job safe . Any way thanks for your reply .

Maybe you are looking for

  • Portal Uses 80% CPU

    Hi, My portal keeps on using 80% CPU and causes the server to be very slow and have to be restarted. Whenever I log in to the portal page and click on my discoverer portlet there, I always get Page Cannot Be Displayed. Can somebody help me on this is

  • Mail: 2 problems - Reply and SMTP setting

    Hi all, never had any special issues with Lion, but after upgrading to Mountain Lion I have these 2 issues that I can't solve. I use Mac Mail , connecting and receiving/sending emails for 3 different accounts, one for my company (hosted on an externa

  • External SWF file load problem

    I'm loading external SWF file which has motion tween.After the loading progress bar finished to load than calls SWF file.If I test the movie locally works fine but when simulate the download it seems it jumps end of the timeline.Is anyone could tell

  • 'Notes' field within the Address Book is greyed out

    The 'Notes' field within the Address Book is greyed out. The resolution seems simple enough yet this does not work: "Select the person in the Name column in Address Book, then click the Note field in the card." It's still grey after doing so and data

  • Problem conncecting to internet with wif card

    My setup Hardware: Pismo G3 Powerbook + Lucent Technologies/Wavelan/Orinoco Silver Wifi card + 3Com wifi router Software: OS 10.3.9 + WirelessDriverBeta5.1dmg The Pismo recognises the wi-fi card when I plug it in: an icon appears in the menu bar show