关于作者

用户名:pshen
笔名:pshen
地区:

日历  

快速登录

+ 用户名:
+ 密 码:

我的博采 我的论坛 我的RSS

文章索引

在线留言



Compiere&OpenSource

访问统计:
文章个数:7
评论个数:1
留言条数:0



Powered by BlogDriver 2.1

pshen的博客

 

欢迎访问Peter的Blog.

文章

表的列“总是可更新的”是什么意思

可更新的
表示这个字段出现在窗口的时候,是可以更新的。但是,你可以注意到当一张订单完成的时候,所有的字段变成了read only的
compiere里,有个字段叫processed,当processed='Y'的时候,窗口就会变成readonly

总是可更新的
当processed='Y'的时候, 这个字段还是可更新的
example, 订单中的description字段

http://www.compierefans.org

- 作者: pshen 2005年09月4日, 星期日 23:04  回复(0) |  引用(0) 加入博采

Compiere是如何實現持久層
基本上是compiere把所有的表定义放在AD_Table,AD_Column里面,也就是所谓的ad里面。
所以,基本上通过ad的定义,就可以实现对PO的动态管理。
但是,从04年开始,为了适应compiere的db independent的计划,compiere在代码级别加强了po的管理, 基本上由这么几个类层次构成:1,PO.java, 这个是所有PO的基类,由它实现了查询,更新,删除的操作。
尤其是在这个类中,compiere希望由它来实现类似trigger的功能,以移植过去用大量PL/SQL写的trigger代码。 大家看到有beforesave,aftersave等function, 就是用来代替trigger的
2, X_***.java, 这个是可以通过compiere提供的generateModel工具自动产生的,
它继承了PO, 然后基本上相当于一个简单的bean, 是由一些类的get, set组成的。
3, 一般需要一些更复杂的功能,所以大部分的表还会有个对应的M***.java
它继承了X_***.java,  一般实现一些更复杂的业务逻辑。
如果还是一些文档类型的model, 那这个类还会实现DocAction接口
这种类,可以直接应用到workflow中,进行文档状态的转换。

- 作者: pshen 2005年09月4日, 星期日 23:01  回复(0) |  引用(0) 加入博采

Compiere的AD使用简易指导

如何使用Compiere的Application Dictionary 快速的开发出新的界面。

http://www.compierefans.org/compiereutil/ApplicationDictionaryTraining.htm

- 作者: pshen 2005年09月4日, 星期日 10:23  回复(0) |  引用(0) 加入博采

Compiere与JasperReports的集成
摘要:Compiere与JasperReports集成 查看全文

- 作者: pshen 2005年09月4日, 星期日 10:18  回复(0) |  引用(0) 加入博采

Understanding the LGPL open source license (from Jboss)
Understanding the LGPL open source license (from Jboss)

Understanding the LGPL open source license

The majority of JBoss Enterprise Middleware System (JEMS) products are licensed under the LGPL or Gnu Lesser General Public License. The LGPL is the most business-friendly license for enterprise IT organizations, independent software vendors, and the open source community itself. It promotes software freedom without affecting the proprietary software that sits alongside or on top of it. The LGPL also ensures stability and consistency by disallowing proprietary forks.

What the LGPL License does for you:

Use JEMS software licensed under the LGPL license (including JBoss Application Server and Hibernate) as a component of your business applications in any way you wish. Make unlimited copies of JEMS LGPL software without payment of royalties or license fees. Distribute copies of JEMS software. Make changes to JEMS code if you need to do so for use within your own company. The LGPL license does not require you to share those internal changes with the rest of the community. Distribute changed versions of JBoss to others, but if you distribute such changed versions you are required to share those changes with the rest of the community by publishing that changed source code under the LGPL.


- 作者: pshen 2005年04月20日, 星期三 09:50  回复(0) |  引用(0) 加入博采

一些常用的Compiere Link:
一些常用的Compiere Link:

1, 我的论坛 http://www.compierefans.org

2, Smiling电子小组:http://www.smiling.com.cn/group/homepage.ecgi?group_id=46261

2, Red1的网站,http://red1.org/

3, sourceforge上的一些站点:

compiere主站 http://sourceforge.net/projects/compiere/

compiere util, 我的项目 http://sourceforge.net/projects/windowutil/

compilo项目http://sourceforge.net/projects/compilo/

4, Zoapcon 香港的一个compiere的Partner http://www.zoapcon.com

5, CompiereChina, 这个就不说了, 广告做的铺天盖地的。

- 作者: pshen 2005年04月17日, 星期日 10:32  回复(0) |  引用(0) 加入博采

开始记blog了
今天开始记blog了!弄了若干个分类,好像多了点。
还有,不知为什么,blogbuddy死活连不上。

- 作者: pshen 2005年04月17日, 星期日 00:07  回复(1) |  引用(0) 加入博采