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 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示