Questions for someone who knows Compiere a little better than I do,
What is a good way to handle application deployment/updates in Compiere?
Database data:
The data you put into the Compiere DB is basically of two different types,
- Application dictionary that controls the application behaviour, that is customization of the system
- User data that is the data for the actual organization that uses the system, like accounts, business partners etc.
If I make a customization/add-on-module to Compiere, I want to be able to install/deploy that customization to another Compiere system without changing any of the user data in that system.
The idea I've had so far is to keep the customization as sql-scripts that can be loaded into a Compiere DB, and that way the installation is done.
But there is at least one problem with this and that is the ID:s of records in the tables that may already be in use.
Also, I haven't found an easy way of creating the SQL script by exporting just the changes that I want, so I do it by hand which is not that efficient.
How do other people do this?
What is the recommended Compiere way?
Java code:
So far I haven't done any java code for Compiere, but I noticed that in the examples of red1, the actual Compiere java files are changed.
This seems to create a problem of handling new versions of Compiere or to have two different customizations/add-ons in one system. (Because there will be a collision between the different changes).
Why don't put all customizations in separate java classes?
Is there a problem doing that with Compiere?
Ola