I am trying to add custom fields to job in quick books.
First I am creating customer and then adding custom fields by calling AppendDataExtModRq
.
I see following error in log
DataExtStorage::DoModify
Did not find Customer "Mayank Aggarwal". QuickBooks error message: Invalid argument. The specified record does not exist in the list.Status - 3140, Message - There is an invalid reference to QuickBooks Customer "Mayank Aggarwal" in the DataExt request. QuickBooks error message: Invalid argument. The specified record does not exist in the list.
But the customer/job does exist in quickbooks.
Here is the request
<?xml version="1.0" encoding="UTF-8"?>
<QBXML>
<QBXMLMsgsRq onError="continueOnError">
<DataExtModRq requestID="0">
<DataExtMod>
<OwnerID>0</OwnerID>
<DataExtName>CLAIM #</DataExtName>
<ListDataExtType>Customer</ListDataExtType>
<ListObjRef>
<FullName>Mayank Aggarwal</FullName>
</ListObjRef>
<DataExtValue>12345</DataExtValue>
</DataExtMod>
</DataExtModRq>
</QBXMLMsgsRq>
</QBXML>
Does anyone know what I am doing wrong here?