|
|

楼主 |
发表于 2009/1/6 18:25:30
|
显示全部楼层
谢谢楼上的,这个功能很好啊,是不是解决了下面这个文章中所说的每个Pos终端都建立一个数据库,并且让这些数据库和服务器端的数据库同步。
For that, you need a replication agent. You can use a DB replication, provided from the proper DB, or you can develop your replication agent. For the second option you will have a program running on background into each POS, who is looking for changes into the main DB and copy them into the local DB.
While the main DB connection is broken, the transactions are saved into the local DB, so the POS can continue operating in standalone mode (off-line) without problems.
When the communication is established again, the POS is switched to On-Line – automatically - and all the transactions are saved in the main DB. Now, all the transactions saved into the local DB will be sended to the main DB automatically, via the replication agent.

http://adempiere.com/wiki/index.php/POS |
|