我必须将所有时间表信息转储到quickbooks桌面应用程序。目前我使用的是php7.x和laravel5.6。
因此,当我在寻找解决方案时,我遇到了许多链接,并点击了下面的链接。通过查看下面的链接,我了解到我需要有一个网络连接器,以便与qb桌面进行通信。在本地服务器,我已经安装了网络连接器,并试图添加一个应用程序到qb桌面软件,这是给错误。
所以我想知道哪里是我的错误,我不能确定自己。
如果有任何替代品,我也可以检查他们。请建议
http://www.consolibyte.com/docs/index.php/php_devkit_for_quickbooks_-_quick-start
https://github.com/consolibyte/quickbooks-php
如何将quickbooks桌面应用程序与php(web应用程序)集成?
我已经安装了一个qb跟踪版本,试图添加一个应用程序得到下面的错误
20181106.17:43:36 UTC : QWCReader.ParseQWC() : Contents of QWC file: -
<QBWCXML>
<AppName>My QuickBooks SOAP Server</AppName>
<AppID></AppID>
<AppURL>http://127.0.0.1/quickbooks/docs/web_connector/qb_web_connector.php</AppURL>
<AppDescription>TimeshEASY + QuickBooks</AppDescription>
<AppSupport>http://127.0.0.1</AppSupport>
<UserName>quickbooks</UserName>
<OwnerID>{766f3bc7-1539-3624-a57e-298edc982f5c}</OwnerID>
<FileID>{d886252c-10d8-e515-25f7-e1d8097c1ebd}</FileID>
<QBType>QBFS</QBType>
<Notify>false</Notify>
<Scheduler>
<RunEveryNMinutes>60</RunEveryNMinutes>
</Scheduler>
<IsReadOnly>false</IsReadOnly>
</QBWCXML>
20181106.17:43:36 UTC : QBWebConnector.WebServiceManager.ReadQWC(QWCReader QWC) : Parsing application configuration xml file to load its content to variables
20181106.17:43:37 UTC : QBWebConnector.RegistryManager.createRegKey() : Error creating registry key for appName = <>
20181106.17:43:37 UTC : QBWebConnector.RegistryManager.createRegKey() : Reason: Value cannot be null.
Parameter name: name
20181106.17:43:37 UTC : QBWebConnector.SOAPWebService.SerializeToRegistry() : Error saving My QuickBooks SOAP Server to Registry: Object reference not set to an instance of an object.
20181106.17:43:37 UTC : QBWebConnector.SOAPWebService.ConnectToQB() : Connecting to QuickBooks...
20181106.17:43:37 UTC : QBWebConnector.SOAPWebService.ConnectToQB() : Error connecting to QuickBooks. Error message received from QuickBooks was <If the QuickBooks company data file is not open, a call to the "BeginSession" method must include the name of the data file.>.
20181106.17:43:37 UTC : QBWebConnector.SOAPWebService.AddToQuickBooks() : QBWC1039: There was a problem adding the application. Check QWCLog.txt for details.
<Error connecting to QuickBooks. Error message received from QuickBooks was <If the QuickBooks company data file is not open, a call to the "BeginSession" method must include the name of the data file.>.>
at QBWebConnector.WebService.AddToQuickBooks()
20181106.17:43:46 UTC : QBWebConnector.SOAPWebService.DisconnectFromQB() : QBWC1015: Error closing connection to QuickBooks.
Reason: Value cannot be null.
Parameter name: g
请帮帮我谢谢
1条答案
按热度按时间o4hqfura1#
如果您阅读日志,quickbooks会说:
If the QuickBooks company data file is not open, a call to the "BeginSession" method must include the name of the data file.
这意味着quickbooks认为您的数据文件没有打开。关闭web连接器(按字面选择
File > Exit
确保它存在,而不仅仅是隐藏在托盘中)打开quickbooks
以以下身份登录quickbooks公司文件:
Admin
选择File > Update Web Services
从菜单中,打开web连接器重新添加您的
.QWC
文件到web连接器必须打开quickbooks公司数据文件才能连接。
最重要的是,如果仍然存在问题,请从web连接器发布代码和日志。如果我们看不到你在做什么,我们就帮不了你。