Centralization of hardcoded IDs

Description

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

Environment

None

Activity

Carlos Ruiz 
August 15, 2012 at 7:07 AM

https://bitbucket.org/idempiere/idempiere/changeset/f4aae2365c3dd3b96e035a358cffd47693d44d42
centralize also the MSysConfig keys - Thanks to David Peñuela

Hesham Ahmed 
July 10, 2012 at 9:07 PM

Its not a good idea to use interfaces to do this. http://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html
I have changed all the effected classes to use static imports instead:
http://hg.oeasolutions.net/idempiere/changeset/ff29827a9920

Nicolas Micoud 
April 25, 2012 at 10:12 PM

Pull request #11 created (Display Types), next to today meeting

Regards,

Nicolas

Fixed

Details

Assignee

Reporter

Components

Priority

Created April 12, 2012 at 5:15 PM
Updated August 8, 2022 at 3:17 PM
Resolved August 15, 2012 at 2:58 AM