“1:查询请求未在 QuickBooks 中找到匹配对象”- 不视为错误?
"1: A query request did not find a matching object in QuickBooks" - Do not treat as error?
我正在执行 QuickBooks Web 连接器集成,我在其中查询 QuickBooks 中过去 24 小时内修改的所有账单记录。如果找到 none,我会收到上述错误,但我希望 Web 连接器继续处理此公司文件的其他(不相关)请求队列,即使没有找到账单。是否可以指示 Web 连接器忽略此错误?我尝试在我的请求中使用 <QBXMLMsgsRq onError="continueOnError">
,但这没有达到预期的效果。非常感谢!
Is it possible to instruct Web Connector to ignore this error?
是的。
I tried using
那行不通,因为它告诉 QuickBooks 忽略错误,而不是 Web 连接器。
你需要看看这个方法:
receiveResponseXML
这里有一些信息:
integer receiveResponseXML(string ticket, string response, string
hresult, string message)
The Web Connector will now pass you a qbXML response to the last qbXML
request that was issued.
You should do whatever necessary with the qbXML response, and then
return an integer indicating the progress made so far during this
session.
If an error has occurred within the SOAP server, return a -1. The Web
Connector will next call connectionError().
If there are no more items in the queue, return a 100 (100% finished).
The Web Connector will next call closeConnection().
If there are more items in the queue, you can return any number 0 to
99 inclusive which indicates the percentage done this session is
(returning 65 indicates 65% done, etc.). The Web Connector will next
call sendRequestXML(), so that you can send the next request for the
next item in the queue.
发件人:
您可以在 Intuit 包含在 QuickBooks SDK 中的 100 页 PDF 文档中阅读更多内容。
更改您的 Web 服务,使您返回一个正整数,Web 连接器将继续而不会停止。
如果您需要更多帮助,post 您的代码。
我正在执行 QuickBooks Web 连接器集成,我在其中查询 QuickBooks 中过去 24 小时内修改的所有账单记录。如果找到 none,我会收到上述错误,但我希望 Web 连接器继续处理此公司文件的其他(不相关)请求队列,即使没有找到账单。是否可以指示 Web 连接器忽略此错误?我尝试在我的请求中使用 <QBXMLMsgsRq onError="continueOnError">
,但这没有达到预期的效果。非常感谢!
Is it possible to instruct Web Connector to ignore this error?
是的。
I tried using
那行不通,因为它告诉 QuickBooks 忽略错误,而不是 Web 连接器。
你需要看看这个方法:
receiveResponseXML
这里有一些信息:
integer receiveResponseXML(string ticket, string response, string hresult, string message)
The Web Connector will now pass you a qbXML response to the last qbXML request that was issued.
You should do whatever necessary with the qbXML response, and then return an integer indicating the progress made so far during this session.
If an error has occurred within the SOAP server, return a -1. The Web Connector will next call connectionError().
If there are no more items in the queue, return a 100 (100% finished). The Web Connector will next call closeConnection().
If there are more items in the queue, you can return any number 0 to 99 inclusive which indicates the percentage done this session is (returning 65 indicates 65% done, etc.). The Web Connector will next call sendRequestXML(), so that you can send the next request for the next item in the queue.
发件人:
您可以在 Intuit 包含在 QuickBooks SDK 中的 100 页 PDF 文档中阅读更多内容。
更改您的 Web 服务,使您返回一个正整数,Web 连接器将继续而不会停止。
如果您需要更多帮助,post 您的代码。