AnsweredAssumed Answered

UnKnown Property in MDF Object Upsertion

Question asked by ImranShaik7901 on Feb 27, 2017
Latest reply on Mar 1, 2017 by ImranShaik7901

Hi All,

I am trying to upserting the data into MDF Object for the API cust_W4. i am getting the following error here.

<objectEditResult>
<index>1</index>
<errorCode>200</errorCode>
<errorMessage>OK</errorMessage>
<results>
<key>null</key>
<status>ERROR</status>
<editStatus>UPSERTED</editStatus>
<message>unknown property externalCodeNav for cust_W4</message>
<index>0</index>
<httpCode>400</httpCode>
<inlineResults>null</inlineResults>
</results>
</objectEditResult>

 

But i am not mapping externalCodeNav here. Then also it is coming after map shape. The data is coming from map shape is follows:

<SFOData.cust_W4>
<effectiveStartDate>2017-02-27</effectiveStartDate>
<externalCode>01462233</externalCode>
<cust_AdditionalWithholding>0.00</cust_AdditionalWithholding>
<cust_Allowances>0</cust_Allowances>
<cust_FilingStatus>1</cust_FilingStatus>
<cust_LastNamevSSN>false</cust_LastNamevSSN>
<cust_State>TX</cust_State>
<cust_TaxExempt>N</cust_TaxExempt>
<externalCodeNav></externalCodeNav>
</SFOData.cust_W4>

 

But i didn't map externalCodeNav field, then also it is coming. when i map business key(personIdExternal) to it , then also it is throwing the following error.

 

<objectEditResult>
<index>1</index>
<errorCode>200</errorCode>
<errorMessage>OK</errorMessage>
<results>
<key>cust_W4/effectiveStartDate=2017-02-27T00:00:00.000-05:00,cust_W4/externalCode=01462233</key>
<status>ERROR</status>
<editStatus>null</editStatus>
<message>cannot provide basic property and navigation property at the same time: externalCode,externalCodeNav</message>
<index>0</index>
<httpCode>400</httpCode>
<inlineResults>null</inlineResults>
</results>
</objectEditResult>

 

Please help me to resolve this. Thanks.

Outcomes