O'Reilly logo

ADempiere 3.6 Cookbook by Ajit Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating a model

A model is the essential part of ADempiere as it allows us to implement business logic. A model represents a table in the database schema. Given a table, ADempiere provides the tools to generate the model which has the built-in persistence capability. A model is required if you want to write a process or validation logic, toolbar button actions, and so on. This recipe describes the steps to generate a model from a database table.

Getting ready

Launch Eclipse and open the adempiere_360 project in it.

How to do it...

  1. In Eclipse, click on the Run | Run Configurations menu. This will show the Run Configuration panel, as shown in the following screenshot.
  2. Click on the New Launch Configuration toolbar button and fill in the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required