Creating a new window
A window provides create, read, update, and delete (CRUD) access to the data to a user. These functionalities are provided by the standard tools and menus. A standard layout of a window has the following parts:
Title bar
Menu bar
Tool bar
Tabs panel
Status bar
The following screenshot shows the different parts:
Given the ADempiere architecture, as an author of a new window, you do not have to worry about how and what gets displayed in the Title, Menu bar, Tool bar, and Status bar. All we need to focus on is the Tabs panel. And, in this recipe, we will go through the steps required to create a complete working new window in ADempiere, which will act as the foundation for building our MOM window.
Getting ready
Connect to the database adempiere360
using adempiere
as the user using your favorite PostgreSQL client (for example, phpPgAdmin
or pgAdmin III
or command based psql)
How to do it...
1. Create the following table in your
adempiere
schema:CREATE TABLE adempiere...