Clarity

  • 1.  [reports,Timeslicing]missing timesheet entries in the PRJ_BLB_SLICES table

    Posted Jul 27, 2012 08:56 AM
    Hi CA forum members,
    Kindly help us with following problem.

    Desired status description/ steps to reproduce:

    Our goal is to have a report on project/person level within date from – date to period for hours entered into timesheets.
    All these constraints are as parameters in report built in Crystal Reports and set-up in Clarity PPM.
    The report take data from a view on top of the Clarity PPM database (on Oracle), which extracts timesheet entries from data mart.


    SELECT slc.slice "HOURS"
    ,tsk.PRNAME "TASK_NAME"
    ,slc.slice_date "DATE"
    ,res.prid "RESOURCE_ID"
    ,RES.PRNAME "NAME"
    ,RES.PRUSERNAME "USERNAME"
    ,rle.PRNAME "ROLE"
    ,prj.UNIQUE_NAME "UNIQUE_NAME"
    ,prj.NAME "PROJECT_NAME"
    ,prj.id "PROJECT_ID"
    FROM PRJ_BLB_SLICES slc
    JOIN PRJ_BLB_SLICEREQUESTS slrqst
    ON slc.slice_request_id = slrqst.id
    JOIN PRTIMEENTRY tme
    ON tme.prid = slc.prj_object_id
    JOIN PRASSIGNMENT assi
    ON tme.prassignmentid = assi.prid
    JOIN PRRESOURCE res
    ON assi.prresourceid = res.prid
    AND res.PRISROLE = 0
    LEFT JOIN PRRESOURCE rle
    ON res.prprimaryroleid = rle.prid
    AND rle.PRISROLE = 1
    JOIN PRTASK tsk
    ON assi.prtaskid = tsk.prid
    JOIN ODF_CA_TASK oct
    ON tsk.prid = oct.id
    JOIN SRM_PROJECTS prj
    ON tsk.PRPROJECTID = prj.id
    JOIN odf_ca_project ocp
    ON prj.id = ocp.id
    WHERE slrqst.field = 5 /* 5 = PRTimeEntry.prActCurve */
    AND slc.slice >= 0;

    Problem description:
    It worked fine, but then we presumably hit the ‘rollover’ issue – can’t see the timesheet entries in the PRJ_BLB_SLICES table anymore (for selected project/person), while I can still see the timesheet entries in the application.

    Next steps and open questions?
    Do we need to use exact Slice (defined via UI) or just utilize timeentry entity?
    Which application setting does have the control over how long the data are kept in data mart ?
    Alternatively, is it better to obtain these data outside of the datamart – and if so, where to look for it ?

    thank you very much


  • 2.  RE: [reports,Timeslicing]missing timesheet entries in the PRJ_BLB_SLICES ta
    Best Answer

    Posted Jul 30, 2012 07:17 AM
    Did the "Time Slicing" job run ok ?

    What is the period for the time slices vs the period you are checking for the time entries ?

    NJ


  • 3.  RE: [reports,Timeslicing]missing timesheet entries in the PRJ_BLB_SLICES ta

    Posted Jul 31, 2012 08:09 AM
      |   view attached
    As NJ writes your query will only give results for the time range of your timeentry timeslices.

    Martti K.


  • 4.  RE: [reports,Timeslicing]missing timesheet entries in the PRJ_BLB_SLICES ta

     
    Posted Aug 08, 2012 02:58 PM
    Hi Michal,

    Did Martti and NJ's response help you resolve your issue? If so please mark their posts as Accepted Solution.

    Thanks!
    Chris


  • 5.  RE: [reports,Timeslicing]missing timesheet entries in the PRJ_BLB_SLICES ta

    Posted Aug 10, 2012 04:04 AM
    Thanks for both advices - and indeed, the slicing job window moved on, so setting the slicing job appropriately fixed the issue.
    Thanks !