AnsweredAssumed Answered

XOG in approved timesheet

Question asked by byron.stephan on Dec 4, 2012
Latest reply on Mar 18, 2015 by Saraswathi001
Has anyone been able to XOG in an approval to a submitted Timesheet?
I can extract the timesheet via the readTimePeriod service without problems.
Trying to update the timesheet with approval via writeTimePeriod returns...
XOG-2014: Timesheet already submitted. Submitted timesheets can't be altered.
XOG-2015: This timesheet can not be saved because it has since been updated by another user. Save your changes in a new file, then retrieve the same timesheet again and re-enter your time.

There is a TimeSheetApproval service. Using this...
-I can't get the read for it to work.
-There is no example in the XOG client
-Trying to guess at the write syntax is failing.
Attempted Read:
<NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd" xmlns:xsi="">
<Header version="" externalSource="NIKU"/>
<Filter name="resourceID" criteria="EQUALS">MYOPRID</Filter>
Invalid filter name, criteria or value: resourceID, EQUALS, MYOPRID
and MYOPRID exists in the database and works to pull back timesheet with the readTimePeriod XOG service