Reputation: 41
I have been trying to create a customer in QuickBooks and I have to update the returned LISTID value in my database.For that Is there any way to send Id (for ex: customer id =101 which is in my database) using "sendrequestXML" and in "receiveResponseXML" , I want to return that customer id along with LISTID. So, that I can update the LISTID "8000002B-1502038359" for customer id "101 " in my database. I am using web connector and Qbxml.
Here is my sample code
//Create CustomerAddRq aggregate and fill in field values for it
XmlElement CustomerAddRq = requestXmlDoc.CreateElement("CustomerAddRq");
qbposXMLMsgsRq.AppendChild(CustomerAddRq);
//Create CustomerAdd aggregate and fill in field values for it
XmlElement CustomerAdd = requestXmlDoc.CreateElement("CustomerAdd");
CustomerAddRq.AppendChild(CustomerAdd);
//Set field value for Name <!-- required -->
CustomerAdd.AppendChild(MakeSimpleElem(requestXmlDoc, "Name", "tarun"));
//How to send my database customer id value in the "sendRequestXML".
Upvotes: 0
Views: 264
Reputation: 2656
You could use either the AccountNumber or more than likely need to use a custom data field to store this information. You will not be able to query directly against it.
Upvotes: 1