Good Morning Martti,
I made the change that you suggested by removing the instanceCode line and received the following error:
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../xsd/nikuxog_customObjectInstance.xsd">
<Header action="write" externalSource="NIKU" objectType="customObjectInstance" version="15.7.1.270"/><customObjectInstances objectCode="gtri_rst_obj">
</customObjectInstances><XOGOutput> <Object type="customObjectInstances"/> <Status state="FAILURE"/>
<Statistics insertedRecords="0" failureRecords="0" totalNumberOfRecords="0" updatedRecords="0"/> <Records><Record>
<KeyInformation><column name="objectCode">gtri_rst_obj</column><column name="instanceCode"/>
</KeyInformation><ErrorInformation><Severity>FATAL</Severity><Description>Custom Object Instance Export Failed</Description><Exception>
<![CDATA[SQL Exception with error code : 936 message: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-00936: missing expression]]>
</Exception></ErrorInformation></Record></Records></XOGOutput></NikuDataBus>
Adding the instanceCode back in and running again clears this error, but no results are returned.
I am running the XOG with my ID. I have also tested with the Admin account. No changes with the change of ID's.
Here are the rights that I am currently assigned to under the Instance Access Rights:
Under the Access to this Object. For Resources, it's just me and I have the right Object-Administrator.
Under the Group Rights, I have Administration – XOG, which I am part of this group.
One other thing to note: If I make the change below to use one of the attributes (see below):
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="8.0" action="read" objectType="customObjectInstance" externalSource="NIKU"/>
<CustomObjectInstanceQuery>
<Filter name="objectCode" criteria="EQUALS">gtri_last_name</Filter>
<Filter name="instanceCode" criteria="EQUALS">Cofman</Filter>
</CustomObjectInstanceQuery>
</NikuDataBus>
The Query fails and the error message is: XOG: Insufficient rights to perform XOG read of custom object instance</Description><Exception><![CDATA[
java.lang.NullPointerException
I have looked everywhere and I do not see any place to add any additional rights.
Hope this additional information helps resolve the issue.
Thanks,