I am trying read data out that links back to a Parent record
What I have come up with so far is below but, "parentInstanceCode" is not recognised by XOG resulting in error "attribute "name" has a bad value: the value is not a member of the enumeration: ("instanceCode"/"objectCode")"
What should I be using in the below to bring back the records? For reference "bc" is the Master Object and "bc_approval" the subobject.
<?xml version="1.0" encoding="UTF-8"?>
<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">bc</Filter>
<Filter name="instanceCode" criteria="EQUALS">BC009199</Filter>
</CustomObjectInstanceQuery>
<CustomObjectInstanceQuery>
<Filter name="objectCode" criteria="EQUALS">bc_approval</Filter>
<Filter name="parentInstanceCode" criteria="EQUALS">BC009199</Filter>
</CustomObjectInstanceQuery>
</NikuDataBus>