AnsweredAssumed Answered

Fatal error when creating Timesheet that does not exist.

Question asked by jhuddle61 on Oct 10, 2014
Latest reply on Oct 14, 2014 by jhuddle61

When I try to create a timesheet for a period in Clarity that does not exist, I get this fatal error

 

FATAL

XOG-2022: The timesheet you are uploading has time logged against the task  under project PRJ1921 ((5020823)).

 

Prior to attempting to create the timesheet, I run a XOG to query for this timeperiod and the results show no Timesheet ID which I am interpreting to mean the timesheet does not exist yet.

 

I then pass my create timesheet XOG (shown below) expecting that it will create the time sheet. Not sure why I am getting this message.

 

Can anyone shed some light on what I am doing wrong?

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_timeperiod.xsd">

<Header version="13.1.0.0248" action="write" objectType="timeperiod" externalSource="NIKU" />

<TimePeriods>

<TimePeriod finish="2014-10-26T00:00:00" start="2014-10-20T00:00:00" openForTimeEntry="true">

<TimeSheets>

<TimeSheet ID="-1" resourceID="userid" action="add" version="1" status="0"><TimeSheetEntries>

<TimeSheetEntry taskID="5049652" projectID="PRJ1921" totalActuals="21">

<DailyActuals>

<Actual actualDate="2014-10-20" amount="1" />

<Actual actualDate="2014-10-21" amount="2" />

<Actual actualDate="2014-10-22" amount="3" />

<Actual actualDate="2014-10-23" amount="4" />

<Actual actualDate="2014-10-24" amount="5" />

<Actual actualDate="2014-10-25" amount="6" />

<Actual actualDate="2014-10-26" amount="0" />

</DailyActuals>

</TimeSheetEntry>

</TimeSheetEntries>

</TimeSheet>

</TimeSheets>

</TimePeriod>

</TimePeriods>

</NikuDataBus>

Outcomes