dtdt0454 2014-04-13 23:46
浏览 30
已采纳

QuickBook PHP DevKit

I am currently in the process of integrating my php website with the desktop version of Quickbooks. The application resides on a remote computer and will need to remain in sync with the mysql db on my server. After a great deal of research it appears my two options are:

  1. Use the PHP Devkit and the web connector to accomplish this.
  2. Manually export csv files periodically from quickbooks and parse them and insert the data into my mysql db.

In regards to the first option, I can't seem to find any resources indicating that it's possible to query all items from the quickbooks db. This would be ideal as I could periodically query the remote quickbooks application for all items and insert ones which have been added/updated. It looks like the xml requests for querying require you to specify the item your querying. This will not work for what I have envisioned. As we are not making any orders from the website and only displaying current items/customers maybe the web connector is not what I need.

This brings me to my next option, manually parsing csv files from the application. I don't mind this as its more straight forward than setting up the php dev kit to talk to the web connector but requires manual intervention to export data files from quickbooks.

Does anyone have experience in accomplishing this task/automating the syncing of data between quickbooks desktop and a remote php website?

Any and all comments/suggestions are appreciated, Thanks.

  • 写回答

2条回答 默认 最新

  • dpsx99068 2014-04-14 15:02
    关注

    In regards to the first option, I can't seem to find any resources indicating that it's possible to query all items from the quickbooks db.

    This is definitely very do-able.

    Here's a full blown example of doing it:

    (that example can also import all invoices, all customers, etc. - but you could slim it down if you wanted to just do items)

    It looks like the xml requests for querying require you to specify the item your querying.

    No, they do not require that you specify an item. You can choose to filter things or not.

    See the full syntax reference here:

    If you look up ItemQuery, you can specify an item name if you want... or if you don't want to specify any criteria at all, that's fine too. If you specify a name to filter by, it filters items by that. If you don't specify any filters, you get back everything.

    This brings me to my next option, manually parsing csv files from the application.

    Yuck. :-)

    Does anyone have experience in accomplishing this task/automating the syncing of data between quickbooks desktop and a remote php website?

    Yes, lots. It's not terribly difficult.

    Follow the quick-start guide but substitute the _import.php script instead since you want to import data to MySQL instead of add/update stuff in QuickBooks:

    If you follow the quick-start you should be up and running within a half-hour. We have support forums too:

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵