Clarity

 View Only
  • 1.  Create Adjustment Timesheets through XOG

    Posted May 27, 2017 05:32 PM

    Hello,

     

    I'm trying to adjust a posted timesheet but getting the error message below :

    <Description>XOG-2028: Cannot create new time sheet because one already exists for resource: alida in timeperiod : 2017-05-08T00:00:00</Description>

     

    In my XOG I have the below tag :

    <TimeSheet ID ="-1" adjustedTimeSheetID="5475009" resourceID="aToto" action="add" status="0" version="1">

     

    Can somebody tell me how to create the Adjustment timesheet ?

     

     

    Thanks,

     

    Amos

     



  • 2.  Re: Create Adjustment Timesheets through XOG

    Posted May 28, 2017 12:01 AM

    Hi Esdras 

     

    XOG only works on creating or updating timesheets with a status of 'Open'. XOG wont have functionality for timesheet adjustment. Currently, Timesheet adjustment can be done via two ways 

    1) Manually by user from CA PPM Application 

    2) If you are using CA PPM Version 14.3 or higher then you can use CA PPM REST API for timesheet adjustment.

             URL : /rest/v1/timesheets

             Method: POST

             payload: {

                              "adjustedTimesheetId": 5000000,

                               }

    Note: you need to pass timesheet id need to be adjusted 

     

    Besides this there's an idea in CA PPM Group for timesheet adjustment via XOG you can vote up for that.

    Create Adjustment Timesheets through XOG 

     

    Regards,

    Prashank Singh



  • 3.  Re: Create Adjustment Timesheets through XOG

    Posted May 31, 2017 05:06 PM

    Hi Prashank,

     

    Thank you a lot for this response, I will test the REST API, if working fine I will migrate my application.

     

     

    Regards,

    Esdras