如何使用 Web Connector 连接 QuickBooks Desktop? [英] How to connect QuickBooks Desktop using Web Connector?

查看:52
本文介绍了如何使用 Web Connector 连接 QuickBooks Desktop?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试开发一个简单的 webform 应用程序来从 .aspx 页面创建/编辑发票,并希望同步 QB 桌面 &使用 Web 连接器的 MS SQL 数据库.ASMX 网络服务(2 路同步:QBD -> 网络应用和网络应用 > QBD).

I'm trying to develop a simple webform application to create/edit invoice from a .aspx page and want to sync QB Desktop & MS SQL database using web connector & .ASMX web service (2 way sync: QBD -> web app & web app > QBD).

这是我所做的:

  1. 我已经设置了 QB Desktop US 版本 19(最新) 和网络连接器
  2. 通过添加 .QWC 文件添加了一个应用程序(我使用这个默认的 .qwc 文件没有任何更改,我什至不知道如何制作!!)

步骤 1 &2、已完成但正在寻找合适的解决方案以开始开发部分.我参考了其他一些 StackOverflow 问题并找到了 这个示例但不确定我必须从它们中选择哪个项目和版本.我找到了一些很好的示例应用程序,它们连接到 QB Desktop &使用 Interop.QBFC13

Step 1 & 2, are done but looking for proper solution to start with the development part. I've referred some other StackOverflow questions and found this sample but not sure which project and version I've to choose from both of them. I'm finding some good sample applications which connects to QB Desktop & Web applications using Interop.QBFC13

我真的不知道网络连接器如何工作以及如何与我的网络应用同步.

I really don't have idea how web connector works and sync with my web app.

谢谢!

推荐答案

我正在使用这个默认的 .qwc 文件,没有做任何更改,我什至不知道如何制作!!

I'm using this default .qwc file without any changes, not sure even how can I make it!!

这个 ^^^ 不起作用.曾经.没有默认".QWC 文件——它是特定于您的应用程序,如果您使用的是其他人的,它肯定不会工作.

This ^^^ will not work. Ever. There is no "default" .QWC file -- it is specific to your application and if you're using someone else's it's guaranteed not to work.

创建您自己的 .QWC 文件.示例模板:

Create your own .QWC file. Example template:

<?xml version="1.0"?>
<QBWCXML>
    <AppName>QuickBooks Integrator</AppName>
    <AppID></AppID>
    <AppURL>https://example.com/quickbooks/server.php</AppURL>
    <AppDescription></AppDescription>
    <AppSupport>https://example.com/quickbooks/support.php</AppSupport>
    <UserName>username</UserName>
    <OwnerID>{90A44FB7-33D9-4815-AC85-AC86A7E7D1EB}</OwnerID>
    <FileID>{57F3B9B6-86F1-4FCC-B1FF-967DE1813D20}</FileID>
    <QBType>QBFS</QBType>
    <Scheduler>
        <RunEveryNMinutes>2</RunEveryNMinutes>
    </Scheduler>
    <IsReadOnly>false</IsReadOnly>
</QBWCXML>

字段:

  • 这会在 Web 连接器 GUI 中向用户显示
  • 留空
  • <AppSupport>...</AppSupport> 必须包含有效页面的有效 URL,该页面在访问时返回 200 OK HTTP 响应.遇到技术问题的用户将被引导至此处.
  • <AppURL>...</AppURL> 必须包含到您的 SOAP 服务器的有效 URL,https://... 如果它是远程的,http://localhost/... 如果是本地的.
  • ... 这将匹配您的 SOAP 服务器理解的用于身份验证的用户名
  • <FileID>...</FileID> 只要它遵循 GUID 格式(仅限大写的十六进制字符!),您就可以编写它:{6904A826-7368-11DC-8317-F7AD55D89593}.它与 DataExt 元素有关;大多数简单的集成都可以弥补这一点.
  • ... 同上
  • <QBType>...</QBType> 指定您要使用 Web 连接器连接的 Quickbook 的类型(即QBFS"或QBPOS")
  • <Scheduler>...</Scheduler> 这是一个可选元素,使用它来安排 Web 连接器每隔一段时间自动运行一次
  • <IsReadOnly>...</IsReadOnly> 将此设置保留为 false,将其设置为 true 将不起作用.
  • <AppName> This is displayed to the user in the Web Connector GUI
  • <AppID></AppID> Leave it blank
  • <AppSupport>...</AppSupport> Must contain a valid URL to a valid page which returns a 200 OK HTTP response when visited. Users who have technical problems will be directed here.
  • <AppURL>...</AppURL> Must contain a valid URL to your SOAP server, https://... if it's remote, http://localhost/... if it's local.
  • <UserName>...</UserName> This will match the username your SOAP server understands for authentication
  • <FileID>...</FileID> You can make this up as long as it follows the GUID format (uppercase HEX chars only!): {6904A826-7368-11DC-8317-F7AD55D89593}. It has something to do with DataExt elements; most simple integrations can just make this up.
  • <OwnerID>...</OwnerID> Same as above
  • <QBType>...</QBType> Specifies the type of Quickbooks you want to connect to with the web connector (ie "QBFS" or "QBPOS")
  • <Scheduler>...</Scheduler> This is an optional element, use this to schedule the Web Connector to run every so often automatically
  • <IsReadOnly>...</IsReadOnly> Leave this set to false, setting it to true will not work.

您是否阅读了 100 多页的 PDF,其中详细记录了 Web 连接器的工作原理以及您需要实施的内容?链接:

Did you read the 100+ page PDF that documents exactly how the Web Connector works and what you need to implement? Link:

到目前为止,您尝试实现了什么?

What have you tried to implement so far?

这篇关于如何使用 Web Connector 连接 QuickBooks Desktop?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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