AnsweredAssumed Answered

help: Filter Timesheet record by Resource name.

Question asked by therockrahul on Nov 19, 2011
Latest reply on Nov 27, 2011 by fpena
I want to filter timesheet reocrd by resource name. I am using following Query for XOG. but i am getting following error message. Please help me how to filter timesheet reords based on reosurce name.

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="" action="read" objectType="timesheetApproval" externalSource="NIKU"/>
<Filter name="resourceDbId" criteria="EQUALS">5008060</Filter>
<Filter name="resourceId" criteria="EQUALS">christinaMartin</Filter>

Error Message:
<?xml version="1.0" encoding="UTF-8"?>
<XOGOutput xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
<Object type="timesheetApproval"/>
<Status state="FAILURE"/>
<Statistics failureRecords="0" insertedRecords="0"
totalNumberOfRecords="0" updatedRecords="0"/>
<Description>[Error] :0:0: attribute "name" has a bad value: the value is not a member of the enumeration.
<Exception type="java.lang.Exception"><![CDATA[
java.lang.Exception: Invalid xml data