Openbravo开发-开发篇 建立一个新模型

三步
1)注册
2)开发
3)发布
注册,填写DB Prefix、Data Package信息
From the Application menu, select Application Dictionary || Module

DB Prefix:at least one db prefix is required when a module also contains database artifacts (table, column, constraints, etc.). Openbravo ERP determines the module of a database artifact by checking to see if its name starts with one of the defined db_prefixes. As other howto's in the developers guide will add database artifacts, let's specify at least one DB prefix.

For more information see the AD_Module_Dbprefix table description.
Data Package: Tables are linked to a module through the Data Package. The generated business object for the new table will use the Java Package defined in the Data Package. Other howto's in the developers guide will add new tables so there is a need to specify a data package as illustrated in the image below.
开发,三种方式
Direct: for example a Window is directly related to a specific module.
Indirect: a table belongs to a data package which again belongs to a module.
By name: a new stored procedure is linked through a module by prefixing it with the DB_Prefix of the module.
发布
1从数据库导出
ant export.database
2打包
ant package.module -Dmodule=org.openbravo.howtos
3安装
Log in as System Administrator.
From the Application menu, select Application Dictionary || Application || Module Management.
Select the module you want and click Install Now.
Follow the on-screen instruction to rebuild the application and restart the Tomcat server.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值