ImportQBXML Method
Imports a QBXML response aggregate.
Syntax
ANSI (Cross Platform) int ImportQBXML(const char* lpszXMLData); Unicode (Windows) INT ImportQBXML(LPCWSTR lpszXMLData);
- (void)importQBXML:(NSString*)XMLData;
#define MID_PURCHASEORDER_IMPORTQBXML 9 INQB_EXTERNAL int INQB_CALL InQB_PurchaseOrder_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
This method imports a QBXML response aggregate. When called with a QBXML aggregate, such as a response from ObjSearch or QBWCServer the class will parse the response as if it had been received directly from QuickBooks and the applicable properties will be updated.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)