Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将编写代码以将日记帐分录、发票和贷项通知单插入 Quickbooks Online。我可以在一个循环中一次插入一个,或者我可以使用批处理,我认为它使用 BatchRequest 和 BatchResponse。谁能告诉我一个错误处理的例子,我可以用它来验证插入或向用户报告失败的原因?我对单个事务插入和从 BatchResponse 获取错误的示例感兴趣。
如果发生错误,DevKit 将抛出异常。此处列出了例外情况:
http://developer.intuit.com/IntuitDataServicesSDK/?topic=html/714c1b2e-3473-fadd-0753-358ebb114480.htm