First step is the creation of a top level class 'base/src/org.compiere.model.HardCodedIDs.java' which will list all centralized ID through code.The second step will be to store those IDs into database (AD_SysConfig or new table)
Links :http://www.globalqss.com/wiki/index.php/IDempiere/FullMeeting20120411http://red1.org/adempiere/viewtopic.php?f=28&t=1564
https://bitbucket.org/idempiere/idempiere/changeset/f4aae2365c3dd3b96e035a358cffd47693d44d42centralize also the MSysConfig keys - Thanks to David Peñuela
https://bitbucket.org/idempiere/idempiere/changeset/ade8dc1b50c11ee52bea025b1071a9c15f5b1c25
https://bitbucket.org/idempiere/idempiere/changeset/29f434b7c603f384c812ee9932a121efb593eedc
Its not a good idea to use interfaces to do this. http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.htmlI have changed all the effected classes to use static imports instead:http://hg.oeasolutions.net/idempiere/changeset/ff29827a9920
Pull request #11 created (Display Types), next to today meeting
Regards,
Nicolas
First step is the creation of a top level class 'base/src/org.compiere.model.HardCodedIDs.java' which will list all centralized ID through code.
The second step will be to store those IDs into database (AD_SysConfig or new table)
Links :
http://www.globalqss.com/wiki/index.php/IDempiere/FullMeeting20120411
http://red1.org/adempiere/viewtopic.php?f=28&t=1564