整合使用OpenbravoPOS2.00和Openbravo ERP2.35
这两天按照Openbravo Wiki的Openbravo POS Integration指引完成了OpenbravoPOS2.00和OpenbravoERP2.35的整合。
按照该指导,安装的大致过程如下:
按照该指导,安装的大致过程如下:
第一步,在Openbravo端安装WebService
使用命令行窗口,进入AppsOpenbravo目录,输入 ant installWebService
这步成功的话可以在 http://localhost:8080/openbravo/services/ExternalSales?wsdl 看到已经安装供OpenbravoPOS使用的服务。
使用命令行窗口,进入AppsOpenbravo目录,输入 ant installWebService
这步成功的话可以在 http://localhost:8080/openbravo/services/ExternalSales?wsdl 看到已经安装供OpenbravoPOS使用的服务。
第二步,在Openbravo下用external point of sales定义每个POS可以使用的产品类别。在OpenbravoPOS和OpenbravoERP整合以后,只有在这里定义过的产品和类别才被允许下载更新到POS端。
第三步,在Openbravo端添加外部POS许可。
这部份在安装Openbrvo的时候已经默认完成。不需要再做更改。
第四步,在OpenbravoPOS端,以管理员身份登录,点击Maintenance / Resources,建立一个新的resource命名为openbravo.properties,类型为Text,然后把下面这段代码复制进去。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYstem " http://java.sun.com/dtd/properties.dtd ">
<properties>
<comment>Openbravo Websevice configuration</comment>
<entry key="url">
http://localhost:8080/openbravo/services/ExternalSales
</entry>
<entry key="id">1000000</entry>
<entry key="org">1000000</entry>
<entry key="pos">1234</entry>
<entry key="user">Openbravo</entry>
<entry key="password">openbravo</entry>
</properties>
其中pos的值是上面第二步中定义的外部POS机的索引号,user和password是具有运行org.openbravo.erpCommon.ws.externalSales.ExternalSales权限的用户和密码。
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYstem " http://java.sun.com/dtd/properties.dtd ">
<properties>
<comment>Openbravo Websevice configuration</comment>
<entry key="url">
http://localhost:8080/openbravo/services/ExternalSales
</entry>
<entry key="id">1000000</entry>
<entry key="org">1000000</entry>
<entry key="pos">1234</entry>
<entry key="user">Openbravo</entry>
<entry key="password">openbravo</entry>
</properties>
其中pos的值是上面第二步中定义的外部POS机的索引号,user和password是具有运行org.openbravo.erpCommon.ws.externalSales.ExternalSales权限的用户和密码。
第六步,在POS端上传ORDER,在ERP端处理从POS端上传过来的Orders,点击Master Data Management / Import Data / Import Orders然后执行Import Orders。当这个过程结束后,会出现一个处理结果对话框。
整个过程就是以上六步。
Openbravo Wiki的 原文链接在这里:
http://localhost:8080/openbravo/security/Menu.html
个人经验:
商品必须具备POS使用的Price List的价格。否则不会被同步到POS端去。
对产品Tax Category的定义不是很了解。同步的时候出现“索引值不是唯一的”的提示。把Prodoct的Tax Category 改为Free后同步成功。
个人经验:
商品必须具备POS使用的Price List的价格。否则不会被同步到POS端去。
对产品Tax Category的定义不是很了解。同步的时候出现“索引值不是唯一的”的提示。把Prodoct的Tax Category 改为Free后同步成功。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。