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 ?
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
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
Thank you a lot for this response, I will test the REST API, if working fine I will migrate my application.