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条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c程序不知道为什么得不到结果
    • ¥40 复杂的限制性的商函数处理
    • ¥15 程序不包含适用于入口点的静态Main方法
    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置