dtuqxb3884 2019-04-01 13:51
浏览 62

QB桌面集成。 PHP / MYSQL / ODBC

Some background here, question start in bold below. I hope this is the right place. I am not looking for a code snippet but rather insight on the best way to handle this situation.

I currently develop a proprietary site for my work that allows for back office quoting and management of said quotes. It is written in PHP using PDO(mysql).

We are looking to replace quickbooks POS with OpenSourcePOS. I have already made a fork and modified it for our use.

The last point in this system is the accounting office, running Quickbooks Desktop. I have successfully set up CData ODBC Driver and connected to it from OpenSourcePOS using php/odbc_connect

So I know I can connect and read/write to the QB database with PHP. I can figure out the table relations etc. What my question is:

what is the best way to actually integrate the databases? I am thinking I should have a mirror of the quickbooks database that gets updated every night so that for most read queries I don't have to hit the live db as people are using the software.

and then obviously for the db writes, I can't do those during work hours either for the same reason. do i have a queue? or do i just analyze the POS/quote dbs for new entries, sync, and mark as synced?

I know I can figure out a solution, but I want it to be the right one as this system will be very important. sorry for all the text. thank you.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥60 求一个简单的网页(标签-安全|关键词-上传)
    • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
    • ¥15 基于卷积神经网络的声纹识别
    • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
    • ¥100 为什么这个恒流源电路不能恒流?
    • ¥15 有偿求跨组件数据流路径图
    • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
    • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
    • ¥15 CSAPPattacklab
    • ¥15 一直显示正在等待HID—ISP