Compiere – Search fields and GenerateModel

Just a quick finding that I just ran across. We have some columns that are of type “Search” and we store the values ( strings ) in them. When you run the GenerateModel() process, it creates the X classes as Integers no matter what. There is a class called FieldType and the isID() method returns true for search and table reference types. Guess I have to change my reference keys.