Quickbooks 与我期望的 qbXML 版本不兼容 [英] Quickbooks isn't compatible with the version of qbXML that I expect

查看:40
本文介绍了Quickbooks 与我期望的 qbXML 版本不兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用 Quickbooks SDK 版本 13 构建的自制 C++ 应用程序.该应用程序的目的是让我通过从网络端口接收 XML 字符串来与 Quickbooks 对话.我可以使用 qbXML 2.1 版进行通信.它与 Quickbooks Enterprise 版本 16 对话.我很惊讶,当我运行主机查询时......

I have a homemade C++ app built using the Quickbooks SDK version 13. The purpose of the app is to allow me to talk to Quickbooks by receiving an XML string from a network port. I'm able to communicate using qbXML version 2.1. It's talking to Quickbooks Enterprise version 16. I'm surprised, then, that when I run a host query...

<?xml version="1.0" encoding="utf-8"?>
<?qbxml version="2.1"?>
<QBXML>
<QBXMLMsgsRq onError="stopOnError">
<HostQueryRq></HostQueryRq>
</QBXMLMsgsRq>
</QBXML>

...输出是这样的:

<?xml version="1.0" ?>
<QBXML>
<QBXMLMsgsRs>
<HostQueryRs statusCode="0" statusSeverity="Info" statusMessage="Status OK">
<HostRet>
<ProductName>Intuit QuickBooks Enterprise Solutions: Manufacturing and Wholesale 16.0</ProductName>
<MajorVersion>26</MajorVersion>
<MinorVersion>0</MinorVersion>
<SupportedQBXMLVersion>1.0</SupportedQBXMLVersion>
<SupportedQBXMLVersion>1.1</SupportedQBXMLVersion>
<SupportedQBXMLVersion>2.0</SupportedQBXMLVersion>
<SupportedQBXMLVersion>2.1</SupportedQBXMLVersion>
</HostRet>
</HostQueryRs>
</QBXMLMsgsRs>
</QBXML>

SDK 13 版显然应该可以使用qbXML 13 版,Quickbooks Enterprise 16 版应该可以兼容2.1 以上的qbXML.我需要使用 qbXML 的一项功能,该功能仅在 qbXML 2.1 之后可用.这些发行说明来自 Intuit 声明 Quickbooks Enterprise 14.0与 qbXML 版本 13.0、12.0、11.0、10.0、9.0、8.0、7.0、6.0、5.0、4.1、4.0、3.0、2.1、2.0、1.1 和 1.0 兼容.当然,像 16 这样的更高版本也将与那些兼容.

Version 13 of the SDK is obviously supposed to be able to use version 13 of qbXML, and Quickbooks Enterprise 16 is supposed to be compatible with qbXML higher than 2.1. There is a feature of qbXML that I need to use that is only available after qbXML 2.1. These release notes from Intuit state that Quickbooks Enterprise 14.0 is compatible with qbXML versions 13.0, 12.0, 11.0, 10.0, 9.0, 8.0, 7.0, 6.0, 5.0, 4.1, 4.0, 3.0, 2.1, 2.0, 1.1, and 1.0. Of course, later versions like 16 would also be compatible with those.

为什么 Quickbooks 告诉我它只能使用 qbXML 2.1?我该怎么做才能使用较新的版本?

Why is Quickbooks telling me it can only use qbXML 2.1? What can I do to use a newer version?

抱歉,我之前忘记提到将 <?qbxml version="2.1"?> 更改为 <?qbxml version="13.0"?>code> 或任何高于 2.1 的值都会返回 80040428 错误,这意味着当前请求处理器不支持该请求."另外,如果我使用 <?qbxml version="2.0"?>,我仍然得到 2.1.

Sorry I forgot to mention before that changing <?qbxml version="2.1"?> to <?qbxml version="13.0"?> or any value above 2.1 returns an error of 80040428 which means "The current request processor does not support the request." Also, if I use <?qbxml version="2.0"?>, I still get <SupportedQBXMLVersion>2.1</SupportedQBXMLVersion>.

推荐答案

为什么 Quickbooks 告诉我它只能使用 qbXML 2.1?

Why is Quickbooks telling me it can only use qbXML 2.1?

因为您只使用 2.1.只需使用不同的版本.2.1 大约 15 岁.

Because you're only using 2.1. Just use a different version. 2.1 is about 15 years old.

改变这个:

对于这样的事情:

这篇关于Quickbooks 与我期望的 qbXML 版本不兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆