Professional Documents
Culture Documents
i
M1 SYSTEM ADMIN
45
M1.1 GENERAL RULES
45
M1.2 Client Rules
51
M1.3 Organization Rules
51
M1.4 Data
52
M1.4.2 Data Import
52
M2 Application Dictionary
54
M2.1 Application Packaging
56
M3 Partner Relations
57
M3.1 Business Partner Rules
57
M3.2 Web
58
M3.3 Service
58
M3.4 Request
59
M4 Quote To Invoice
61
M4.2 Sales Orders
62
M4.3 Shipments
64
M4.2 Sales Invoices
64
M4.5 Invoice Inquiry
65
M5 Requisition-to-Invoice
66
M6 Open Items
68
M7 Material Management
70
M7.1 Material Management Rules
70
M7.2 Product Attributes
71
M8 Project Management
73
M9 Performance Analysis
74
M9.1 Accounting Rules
74
M9.2 Financial Reporting
76
M9.3 Performance Measurement
77
M9.4 Costing
77
M10 Assets
78
M11 Others
79
Glossary
80
A D e m p i e r e C o m m u n i t y
ERP Application Setup
ii
Summary
81
iii
Summary
123
iv
Introduction
168
Window: Sales Order
169
Window: Document Type
171
Value Preference
175
Resource Product
176
Window: Print Format
180
Glossary
185
Summary
186
- Alvin Toffler
v
MODULE 2 - ERP Application Setup and Operation
This module takes on the promise of community open source, by been able to download
and install ADempiere ERP application from scratch for a new user. Students will get to
go through important components of the ERP System. The focus is to gain a complete
walk through of the system without getting lost in advanced details.
Module Outline
This module gives a detailed guide for each student to master the important elements in
the whole ADempiere New CIient Setup process. It covers the generating of standard
master tables, organisational structure, product pricing and supply chain cycles.
Learning is fun Graduating is more fun Ultimate fun when your life is fulfilled
Prior Knowledge
This course module assumes basic PC literacy and basic business appreciation. An ac-
counting mind is more adapt to the ERP part of this module.
Module Objectives
1. To download and install ADempiere completely from Open Source Softwares.
1
Chapter 1 - Install Application
Learning Objectives
By the end of this chapter, the student shall be able to:
1. Identify the online resources needed for the installation of the ERP Suite;
1
Introduction
In order for the software to run in your server or PC, or notebook PC, the necessary
softwares has to be present in your environment. You have to first download them from
the internet. You have to practice downloading and installing each software as from
time to time their steps or processes may be changed. Usually they become easier as
each new version is published. Some of the latest versions may not be compatible with
the whole suite. Usually we use the common versions in use about 3 months to 1 year
from its publication date to ensure that they are most stable with the rest of the suite
softwares.
Installing a new software is the first most challenging task for a beginner. At times it is
still daunting for a seasoned practitioner. It can be approached in a fun way, accepting
the challenge as a learning process of discovery. I will encourage you to make learning
notes to not only improve this content but also share with the community that can earn
you some dimes in your kudo-bank.
2
Resources List
Resource Purpose
Guru Someone whom you have to pay to tell you the time.
Software List of software that is still free the last time we checked.
Guide This coursebook is what will help you through the setup.
1
Lesson Plan According To Platform
S
1.7 1.6 ImportAdempiere (metadata)
O
1.9 Running App Server
N
1.1O Running ADempiere
https://help.ubuntu.com/community/WindowsDualBoot
• For those who are used to Microsoft Windows and the installer style there is a tool
contributed by Kai Schaeffer of Germany. Please find that at topic 1.8 Windows In-
staller.
2
Asia e-University
Master in Open Source ERP
Software List
The list above shows the latest version in use at date of writing. It will change with
time. However the links are quite dynamic with its latest info. It is good to avoid too old
or too new versions that is incompatible.
• So we are basing our installation on Linux, Ubuntu flavour is known to be the easiest
and dead easy. Here is the link for an Ubuntu installation guide:
https://help.ubuntu.com/community/Installation
1
Asia e-University
Master in Open Source ERP
http://www.adempiere.com/wiki/index.php/Adempiere_Install_WinXp
Ensure that your computer name is a short and easy name to type and not a long ma-
chine name as it will be constantly repeated in the installation setup and certain system
operations. An easy name is easier to recall when needed.
2
Asia e-University
Master in Open Source ERP
It will most likely install the following. To see what is there for Postgres you use the
‘grep’ command.
3
Asia e-University
Master in Open Source ERP
If you have downloaded the softwares in your machine you can follow the following
steps.
INSTALLING JAVA
▪
Copy the java jdk (jdk-6-linux-i586.bin) to your home directory for e.g. /home/
user/
./jdk-6-linux-i586.bin
EXTRACTING ADEMPIERE
▪ It will create a folder Adempiere with all the its files and folders
▪ Go to View -->> Show Hidden Files on the menu bar ( or simply Ctrl + h )
▪ Open .profile file and add the following lines at the bottom
export JAVA_HOME=/home/user/jdk1.6.0/
export ADEMPIERE_HOME=/home/user/Adempiere/
4
Asia e-University
Master in Open Source ERP
SETTING TRUST
su root
******
passwd postgres
******
▪ Now we edit the pg_hba.conf (config) file for the trust declarations
gedit /etc/postgresql/8.2/main/pg_hba.conf
▪
Add your database host IP under IPv4 if you are on a network (in my case my IP
is 192.168.0.161)
5
Asia e-University
Master in Open Source ERP
SETTING UP PGADMIN
6
Asia e-University
Master in Open Source ERP
▪ Give a description
▪ Enter the password that you have set for user postgres
7
Asia e-University
Master in Open Source ERP
8
Asia e-University
Master in Open Source ERP
9
Asia e-University
Master in Open Source ERP
MS Windows.
PLATFORM
• Windows XP SP2
http://java.sun.com/javase/downloads/index.jsp
10
Asia e-University
Master in Open Source ERP
echo %JAVA_HOME%
• Carefully check the result to ensure the path to the JDK is correct
• Type "echo %JRE_HOME%" (without the quotes)
• Carefully check the result to ensure the path to the JRE is correct
• Close the shell
11
Asia e-University
Master in Open Source ERP
12
Asia e-University
Master in Open Source ERP
MAKE SHORTCUTS
You can do this while the PostgreSQL database is being installed. You can save time by
creating Desktop shortcuts to:
• D:\Adempiere\Run_Setup.bat
• D:\Adempiere\utils\RUN_ImportAdempiere.bat (the bat may not be showing in
your Explorer)
• D:\Adempiere\utils\RUN_Server2.bat
• D:\Adempiere\utils\RUN_Server2Stop.bat
• D:\Adempiere\RUN_Adempiere.bat
STEP 2
• Connect to postgresql
• --Right click on the Postgresql database server and connect. --Enter password &
tick the save box
• Now, expand all the database server tree by clicking the plus-sign
STEP 3
• Down the bottom, you will see a user called "postgres". Do not modify this user.
This database username will be entered during adempiere server setup or else you
will have errors in dump restore.
• Right click on Login Roles and create a new user "adempiere" with password
"adempiere". Check superuser rights plus all boxes below superuser rights(see im-
age below, left).
13
Asia e-University
Master in Open Source ERP
STEP 4
• Now return to Database at the top and right click. Select create database. Name it
"adempiere" and select the owner "adempiere" and encoding "UTF8" (see image on
the right). Leave all the other variables blank.
• ERP is complex? It is said that 92% of the ERP projects fail to meet all its stated objectives.
14
Asia e-University
Master in Open Source ERP
1.5 RUN_Setup
LINUX VERSION
Installing Adempiere
▪
Go to $ADEMPIERE_HOME
▪
Run RUN_setup.sh and enter your settings, test and save
You can follow the values as in Windows Version below. The values above are for Ora-
cle DB.
15
Asia e-University
Master in Open Source ERP
WINDOWS VERSION
If you installed a Desktop Shortcut as suggested while you were waiting for PostgreSQL
to install, then you can just click the Desktop icon RUN_setup
Otherwise:
▪
Adempiere Home to C:\Adempiere (if somehow it has been set to the wrong lo-
cation)
▪
Database Server from <your-computer-name> to localhost
▪
Application Server Web Port to 8080 (if 80 is being used by something else) and
SSL to 8443 (instead of 443)
When the Test is without errors, click the Save button at the bottom right and wait
until the deployment is finished
16
Asia e-University
Master in Open Source ERP
D:\PostgreSQL\8.2\bin\psql
17
Asia e-University
Master in Open Source ERP
1.6 RUN_ImportAdempiere.sh
This routine is for importing ADempiere application metadata under Linux OS or Unix
or Mac OS.
What is .sh?
▪
SH is short for SHELL. So .sh is a shell program. In windows it is usually
.bat or batch program.
▪
Both .sh and .bat are files that has typed comands in them to be executed
in the computer where they are run.
The Metadata defines the application sturcture such as menu, windows, tables and col-
umns structure. Later you will understand more about this. For now below is a better
way to execute the ImportAdempiere command.
IMPORTING PG DUMP
▪ Go to pgAdminIII
su - postgres
psql -d adempiere </home/user/Adempiere/data/Adempiere_pg.dmp
18
Asia e-University
Master in Open Source ERP
1.7 RUN_ImportAdempiere.bat
Notes:
▪
You may need to review the file dump_errors.log to ensure no errors occur dur-
ing import
▪
To quickly check whether pljava is working issue the following command in
pgAdmin III query window against your adempiere database: select * from
rv_openitem
Import the Adempiere data. If you installed a Desktop Shortcut as suggested while you
were waiting for PostgreSQL to install, then you can just click the Desktop icon
RUN_ImportAdempiere.
Otherwise:
D:\Adempiere\utils\RUN_ImportAdempiere.bat
19
Asia e-University
Master in Open Source ERP
▪ This installer runs under MS Windows platform and will install everything you need:
▪ Java JDK
▪ Postgres Database
▪ ADempiere
▪ Import the database dump
▪ Create the environment and home settings
All you need to do after this is just to double-click on the application icon and it runs!
Download Installer
Just Click Next like any good old Windows installer until finish. There will be some questions
along the way that you have to answer.
NOTE: Remember to give your machine name a simple one. New machines always come with
very long names and it is hard to recall them later.
20
Asia e-University
Master in Open Source ERP
21
Asia e-University
Master in Open Source ERP
22
Asia e-University
Master in Open Source ERP
You notice the installation is smart that it detects if you got Java installed before. It will just pro-
ceed with the rest till the end. Meanwhile take note that a log is saved to refer to later for errors.
23
Asia e-University
Master in Open Source ERP
You are finally there when you see the Close button lighting up for you to click on.
24
Asia e-University
Master in Open Source ERP
1.9 RUN_Server2
LINUX VERSION
./Applications/Adempiere/utils/RUN_Server2.sh
WINDOWS VERSION
If you installed a Desktop Shortcut as suggested while you were waiting for PostgreSQL to in-
stall, then you can just click the Desktop icon RUN_Server2
Otherwise:
F:\Adempiere\utils\RUN_Server2.bat
25
Asia e-University
Master in Open Source ERP
1.10 RUN_ADempiere
LINUX VERSION
26
Asia e-University
Master in Open Source ERP
NOTES:
1. After pressing the lower test button it returns a green pass indicating the database
is active and functioning.
2. The upper button is for testing the Application Server, which is used for web ac-
cess to your ADempiere and it can only be tested positive if you have
RUN_Server2.
3. Note that you can still run your ADempiere at your PC where you install it with-
out the application server.
4. You need not go into this test box. It is only called when you want to do a test be-
fore continuing.
5. Just keep clicking OK and you shall proceed to the figures on the next page.
27
Asia e-University
Master in Open Source ERP
28
Asia e-University
Master in Open Source ERP
This is the main menu of the ADempiere ERP System. Its menu display is dependant on
your Role definition of the menu.
29
Asia e-University
Master in Open Source ERP
WINDOWS VERSION
30
Asia e-University
Master in Open Source ERP
You might want to check for patches though. See Patches_Installation for a manual on how to
install them.
Quiz
1. What is the hardest part in installing ADempiere?
31
Asia e-University
Master in Open Source ERP
Glossary
Terminology Explanations
ADempiere A FOSS ERP software that includes CRM, POS and SCM
RUN_ImportAD- Program to import the initial database into the ERP System
empiere
RUN_Adempiere Progam to launch the ADempiere ERP application
32
Asia e-University
Master in Open Source ERP
Summary
1. We need to install 3 important softwares for ADempiere to run;
2. We can install either on Windows with the easy Windows Installer or more manual
methods in Linux platform;
3. Java is a common pre-requisite software to be present in the system first before in-
stalling the datbase and ERP application.;
4. For database we can use either the proprietary Oracle or the free PostgreSQL;
5. After intallation of the 3 softwares, we import the starting database into the engine;
7. We use the application server to run ADempiere in a web environment. It also con-
trols the accoints posting to be centralised and consistent;
33
Asia e-University
Master in Open Source ERP
Learning Objectives
By the end of this chapter, the student shall be able to:
34
Asia e-University
Master in Open Source ERP
Introduction
In this chapter we try to explain the whole menu tree structure and its underlying
common design. Each menu item has a function to do and that is facilitated alot by
what is called the Application Dictionary. It determines the menu tree, window tabs,
table’s columns, and embedded functions as well as properties or rules or scope of its
behaviour. This section serves as a full reference guide to each menu item so that the
student can come back to this again and again when needing to know what is behind
each menu in a fast manner.
Main Reference
Much of the ADempiere menu tree reference and its item information provided here are
derived from the community project’s resource wiki which can be accessed online at
http://www.adempiere.com/wiki.
35
Asia e-University
Master in Open Source ERP
The reference indexes of the ADempiere menu tree shall be laid out in the following
pages. They are based on ADempiere 3.4.0’s menu which is the most stable to date. As
an aggregated value you will find:
▪ in second column the program type: Workbench, WorkFlow, Process, Report, Task,
Window, Form, Menu.
▪ in third column the name of associated tables, or the name of reports and/or proc-
esses inside that option.
This information is already a good technical help, i.e. if you want to know which win-
dow is used to maintain a table, you can find that table on this page and it will show
you which is the corresponding maintenance window. Same if you want to find which
window executes a process, you find it and it will show the window/process/report.
Prior to that I have made some illustration with info-boxes to try to help you visualise
which is which. It will take some time for you to absorb the facts. Just take it easy. ERP
is highly complex, and the menu items seems to make up of quite alot of things. How-
ever many items are not necessarily used or at least not most of the time.
36
Asia e-University
Master in Open Source ERP
AD_System (org.compiere.process.SystemValidate)
STANDARD AD_Registration (org.compiere.process.RegisterSystem)
WINDOW
AD_Language (org.compiere.install.LanguageMaintenance)
org.compiere.install.TranslationDialog
WORKFLOW AD_Language (org.compiere.install.LanguageMaintenance)
+AD_Element_Trl +AD_Message_Trl +AD_Window_Trl +AD_Tab_Trl
+AD_Field_Trl +AD_FieldGroup_Trl +AD_Process_Trl +AD_Form_Trl
+AD_Task_Trl +AD_Workflow_Trl +AD_WF_Node_Trl +AD_Menu_Trl
+AD_Ref_List_Trl
org.compiere.process.UserPassword
PROCESS or
REPORT
ROUTINE
37
Asia e-University
Master in Open Source ERP
The large green box on the right contains more information about each
FOR EACH
MENU ITEM menu item. Information are labeled by the following brown boxes.
Each standard window’s tab will be assigned to a defined table and col-
TABLE IN umn in the system. That table contains actual data and is part of the data-
WINDOW TAB
base. You use the name stated to look for it in the Oracle or Postgres DB.
ATTACHED CODE There may be attached code in a certain field of the defined table. Or it can
IN TABLE
be a procedure or embedded in a processing button in the tab field. Such a
procedure will be executed when launched or pressed if its a button.
38
Asia e-University
Master in Open Source ERP
Notice that at the bottom right is a button with the words “Validate Support”. That shows an
attached java code or procedure and this is shown in the greenbox too within brackets:
(org.compiere.process.SystemValidate). Again such matters are explained in due time later.
39
Asia e-University
Master in Open Source ERP
40
Asia e-University
Master in Open Source ERP
Ok, how do we know how many tabs does each window has and what table is within each tab in
the menu? We know by going into the Application Dictionary or start with the Window Tab and
Column item in the menu. Remember this menu I am talking about is the SystemAdmin menu.
You log into it by choosing the SystemAdmin role. From the Tab menu we see how many tabs
each window has.
Each tab is stated the name of the Table & Field object it is relying on. Now you know where we
got this green box info from:
Thus, you can say that the way the windows are defined with the tabs or not, with how many
tabs, and its associated tables and then its associated processes within each table as what the Ap-
plication Dictionary is all about. Taking one step back, all the items are placed in the Menu by
another Application Dictionary control called Menu.
41
Asia e-University
Master in Open Source ERP
Now that we have seen abit how the whole application structure is defined, we are
lucky that it has all been pre-defined nicely for us. What is left for us now is to just go
through each defined item on the menu tree. We will now list both the SystemAdmin
and the Client menus which has the ERP functional flows. System Admin is more for
defining the Application. Don’t worry if you cannot differentiate which is which. Just
remember that System Admin is for Application Dictionary or ERP configuration work
and Client Admin is for real ERP business. And it is all laid out for us when we log into
our own role in the system. (The following menu tree functional reference is mainly the
work of Carlos Ruiz of Colombia. There are also many other community members that
have assisted and shall assist as the wiki is dynamic and constantly receive contribu-
tions everyday).
• The software coding of an ERP is just 10% of the effort? 90% is about knowing the subject
matter, knowing what goes where and how.
42
Asia e-University
Master in Open Source ERP
Below here shall be shown the parts of the system that is standard and granted wheve-
ner you define a new extension to the model.
It is the top menu panel that always appear in every window. This is already preset in
the ADempiere software. So you need not think about how to get it out on every new
window anymore. It has pull down menus from FILE to HELP options. Then it has a
row of graphical icons that does a specific task when clicked on. We shall go through
some of them so that you can learn of thier common controls which are available in
every window that you shall encounter from now on.
DELETE single
DELETE multiple records PREVIEW RECORD ARCHIVED DOCUMENTS
record
43
Asia e-University
Master in Open Source ERP
Earlier I have shown you that the window tabs are controlled by
the AD under the Window, Tab and Field window. As you can see
on the left, the tabs will appear according to what is configured
there. Now, all windows will have the left tab structure. This is a
display that is done automatically. It is already arranged and each
tab also has a hierarchy indent. As you can see the Customer Ac-
counting Tab lies further to the right than the Customer one which
in turn is right to the Business Partner. This left-to-right positioning
is set within the Window, Tab and Field for each Tab.
At the bottom left of the panel you can see a status message “Navi-
gate or Update Record”. This status message is according to what is
happening in the application. During processing, if there is error, it
will show according to the error status message. If it is ok, it shows
a succesfull status message.
At the bottom right of the window you can see markings such as *1/
which means that it is a new record and not yet saved. If there are a
number of records in this table, let’s say 10, and you are at the 3rd
record it will show 3/10.
44
Asia e-University
Master in Open Source ERP
M1 SYSTEM ADMIN
45
Asia e-University
Master in Open Source ERP
M1.1.2 Security
46
Asia e-University
Master in Open Source ERP
M1.1.3 SERVER
47
Asia e-University
Master in Open Source ERP
M1.1.4 Workflow
M1.1.5 Printing
48
Asia e-University
Master in Open Source ERP
M1.1.6 Collaboration
49
Asia e-University
Master in Open Source ERP
+CM_AccessListBPGroup
+CM_AccessStage +CM_AccessContainer
+CM_AccessNewsChannel
+CM_AccessMedia
50
Asia e-University
Master in Open Source ERP
51
Asia e-University
Master in Open Source ERP
M1.4 Data
M1.4.1 Utility
52
Asia e-University
Master in Open Source ERP
53
Asia e-University
Master in Open Source ERP
M2 Application Dictionary
+AD_Workbench_Trl +AD_WorkbenchWindow
54
Asia e-University
Master in Open Source ERP
+AD_Reference_Trl
+AD_Ref_List
++AD_Ref_List_Trl
+AD_Ref_Table
+AD_Column (org.compiere.process.ColumnEncryption)
(org.compiere.process.ColumnSync)
55
Asia e-University
Master in Open Source ERP
• The Application Dictionary allows 90% coding not needed for many changes that a business
need? You can just configure its window tabs and field layout.
• Robert Klein from USA contributed the 2Pack facility? It allows the transfer of changes from
one instance to another instance easily.
56
Asia e-University
Master in Open Source ERP
M3 Partner Relations
57
Asia e-University
Master in Open Source ERP
M3.2 Web
Click
Window
W_ClickCount +W_Click
M3.3 Service
Resource Type
Window
S_ResourceType
58
Asia e-University
Master in Open Source ERP
M3.4 Request
Request Setup
WorkFlow
59
Asia e-University
Master in Open Source ERP
60
Asia e-University
Master in Open Source ERP
M4 Quote To Invoice
• Many other contributions to the project is in the form of wiki pages and forum replies?
61
Asia e-University
Master in Open Source ERP
62
Asia e-University
Master in Open Source ERP
63
Asia e-University
Master in Open Source ERP
M4.3 Shipments
Generate Shipments (manual)
Form
org.compiere.apps.form.VInOutGen
64
Asia e-University
Master in Open Source ERP
65
Asia e-University
Master in Open Source ERP
M5 Requisition-to-Invoice
RfQ Topic
Window
C_RfQ_Topic
+C_RfQ_TopicSubscriber
++C_RfQ_TopicSubscriberOnly
66
Asia e-University
Master in Open Source ERP
67
Asia e-University
Master in Open Source ERP
M6 Open Items
Cash Journal
Window
C_Cash
+C_CashLine
Allocation Report
68
Asia e-University
Master in Open Source ERP
(org.compiere.process.PaySelectionCreateCheck)
(org.compiere.process.PaySelectionCreateFrom)
+C_PaySelectionLine
+C_PaySelectionCheck
69
Asia e-University
Master in Open Source ERP
M7 Material Management
70
Asia e-University
Master in Open Source ERP
71
Asia e-University
Master in Open Source ERP
72
Asia e-University
Master in Open Source ERP
+M_ProductionPlan
++M_ProductionLine
M8 Project Management
Project Setup and Use
WorkFlow
73
Asia e-University
Master in Open Source ERP
+C_Project_Acct
M9 Performance Analysis
74
Asia e-University
Master in Open Source ERP
++C_SubAcct
Accounting Dimensions
Window
AD_Org C_SalesRegion C_Activity C_Project
(org.compiere.process.ProjectGenOrder)
(org.compiere.process.CopyFromProject)
(org.compiere.process.ProjectSetType)
(org.compiere.process.ProjectClose) C_BPartner
(org.compiere.process.BPartnerOrgLink)
M_Product (M_Product_BOM_Check) C_Campaign
75
Asia e-University
Master in Open Source ERP
76
Asia e-University
Master in Open Source ERP
M9.4 Costing
Cost Type
Window
M_CostType
77
Asia e-University
Master in Open Source ERP
M10 Assets
Asset Group
Window
A_Asset_Group
78
Asia e-University
Master in Open Source ERP
M11 Others
Registration Attributes
Window
A_RegistrationAttribute
+A_RegistrationProduct
Quiz
• What is the Application Dictionary about?
• How would you control a process that you want to run in the ERP?
79
Asia e-University
Master in Open Source ERP
Glossary
Term Explanations
Application Dic- A configurator to define the menu structure, windows and its itabs
tionary and fields in the ERP system. It requires no code changes.
Master-Detail Model of two tables one has further children records of the parent
Report & Process Another menu definition for a configurable process or report
80
Asia e-University
Master in Open Source ERP
Summary
1. The functional layout is accessible via a Menu Tree;
2. Users can have uniquely defined Roles that sees its own Menu Tree for easy access to
their frequent tasks under their job functions;
3. Most of the tables in the database are managed via standard Window-Tabs;
4. The Application Dictionary allow easy and standard configuration of the User Inter-
face and relates it to the application model;
5. Items in the menu are either of type Window, Report & Process or Form;
6. A Report & Process configure the parameters when refering to some procedures or
java code to run;
7. A Form is a customised POJO (plain old java object) panel to display functions that
the standard Window cannot present. Example is a dedicated POS (point of sales
system);
81
Asia e-University
Master in Open Source ERP
Learning Objectives
By the end of this chapter, the student shall be able to:
Introduction
After setting up the application and going through its menu tree, we will now try the
next big thing to do which is to create a completely new client in the ERP. There is al-
ready a ready-made client called ‘GardenWorld’ which you can use to play around and
test things.
We will go through a some walk-through of the whole new client to get a feel of its
functional operations. The idea is to familiarise with many of its key functions and be
aware of its fuller scope and capabilities. From there you can then judge as to what en-
vironment is a suitable fit for such an ERP.
Each operational step will try to keep to the menu tree treatment from the last chapter.
82
Asia e-University
Master in Open Source ERP
Definition
Before you can start using ADempiere for your business, you have to define a new Cli-
ent, Organization, Roles, Users, etc. These become the initial parameters in your system.
83
Asia e-University
Master in Open Source ERP
▪
The Client is the highest level of an independent business entity. Each Client will
have one or more
▪
Organizations reporting to it. Each Client defines the
▪
accounting parameters (Accounting Schema,
▪
Tree definition,
▪
Non Monetary UOM's).
ADempiere has already two clients predefined for you. The first is the
▪
System Client, which you will use to add your Client and configure your system.
▪
GardenAdmin is a sample Client, you can use for testing purposes, and have
some datas inserted
▪
(as Business Partners,
▪
Products,
▪
Banks accounts, etc.).
You do not delete these two clients, but create a new one for your business.
Beginning of Implementation
▪ Login into ADempiere with the System or SuperUser User,
84
Asia e-University
Master in Open Source ERP
85
Asia e-University
Master in Open Source ERP
▪ and open:
86
Asia e-University
Master in Open Source ERP
87
Asia e-University
Master in Open Source ERP
88
Asia e-University
Master in Open Source ERP
Then we'll go to the Initial Client Setup Review workflow to continue (see next section).
Tips (In summarised form for easy reference. Details will be in following pages)
▪
In order to assure the standard default entities were created and the security in-
frastructure was defined correctly, the only way to add new clients is through the
Initial Client Setup form.
▪
The Initial Client Setup will load only the defaults accounts. In order to load all
your non default accounts and create your account hierarchy, you must log in the
system with your new Admin Role. Now there are two steps to follow. First go
down the Menu to System Admin > Data > Data Import > Import File Loader
and choose your COA file (set the Import Format to 'Accounting - Accounts'
value). Confirm your choice and the accounts already reside in an I_* table in the
database. The second step in the import procedure (by placing the imported ac-
counts into a PA_* table in the database) is to go down the Menu to System Ad-
min > Data > Data Import > Import Account window. In there just press the 'Im-
port Accounts' button. Choose your relevant Element and data-importing behav-
ior and confirm. After the process is finished you have to log out and log back in.
If you select the 'Element Value' tab in the Account Element you will see your
Chart Of Accounts organized in your preferred hierarchy. By the way this two-
staged importing mechanism is employed in the addition of the major business
objects into your system (e.g. Business Partners, Products, etc.).
▪
About Accounts File: If you change the .csv example file, to adapt to your needs,
be careful: you must have only and only one account defined for each of the De-
fault Accounts. Otherwise, the process will fail. The file is required with un-
modified structure when you initially create a new Client. To change the example
account file, we advice you:
C o p y r i g h t ( C ) 2 0 0 9 R e d h u a n D . O o n , A D e m p i e r e C o m m u n i t y
ERP Application Setup and Operation
89
Asia e-University
Master in Open Source ERP
Delete all lines with exception of the ones, which have Default Accounts.
Change the lines (value/key, name, description) as you need for your chart of accounts.
Add the other accounts in your chart of accounts.
Above steps are easily done using Adempiere Account editor (see the wiki article)
▪
InstallServer DONE
▪
InstallClient DONE
▪
Installing ADempiere DONE
The next pages will illustrate through the steps described above which is the Initial
New Client Review and the Import Accounts process. It will show you in more detail
including how the Import Loader works.
• The Client can have an organisation tree that is of unlimited hierarchy structure? Some orgs
can be a summary org so that there are other child orgs under them.
90
Asia e-University
Master in Open Source ERP
Help : This workflow reviews the system setup of a new client as performed by the automatic
Initial Client Setup. You may want to check also the following Workflows: - Accounting Setup -
Business Partner Setup - Product Setup - Price list Setup - Warehouse Setup - Tax Setup
This workflow acts as a checklist for you to make sure that you do not miss any of the stated box
items. You can define more users with different roles for each important person in your organi-
sation that is going to use this ERP system
91
Asia e-University
Master in Open Source ERP
Help : The Import Loader Format Window is used for defining the file layout for product infor-
mation which will be imported.
92
Asia e-University
Master in Open Source ERP
Help : Define the individual field based on the table definition. Please note that you have to
make sure that a Constant has the correct SQL data type (i.e. if it is a 'string', you need to enclose
it like 'this').
▪ After defining the import format and its fields, the next step is to import calling the Import
File Loader.
▪ The column contents depend on the table selected in the Import Format tag.
▪ The date format must have the months in capital letters (MM). Otherwise, the data will not
be recognized as of the Date format.
▪ You can define some fields as "constants". The columns of the fields defined as constants do
not need to be imported, but are fed with the same value for all imported lines.
▪ Start No determines the field of the import file which is to be processed.
▪ It is possible that a column retrieves information out of several fields of the import file. End
No determines the last field of the import file which is to be processed. End No appears only
for fixed position import files.
93
Asia e-University
Master in Open Source ERP
When you use the Import Loader (below) to import the accounts into the above screen, you can
press the Import Accounts button at the bottom to begin the process. There may be a few errors-
due to starting blank records which won’t affect the results as all the right records are in.
94
Asia e-University
Master in Open Source ERP
Help : The Element Tab defines the Name, Description and Format for an Element. Additionally,
a Type of Account or User Defined is selected. Each Account Schema must have an Account
Element type. The User Defined Elements are optional.
After doing the importing as described in the previous page, you can examine the re-
sults through the above window tab.
Then we have to setup other parts of the system such as Roles, Users, Organisations and
Calendar.
95
Asia e-University
Master in Open Source ERP
Window: Role
Description : Maintain User Responsibilities
Help : The Role Window allows you to define the different roles that users of this system will
have. Roles control access to windows, tasks, reports, etc. For a client an Administrator and User
role are predefined. You may add additional roles to control access for specific functionality or
data. You can add users to the role. Note that access information is cached and requires re-login
or reset of cache.
Tab: Role
Description : Define responsibility roles
Help : Define the role and add the client and organizations the role has access to. You can give
users access to this role and modify the access of this role to windows, forms, processes and re-
ports as well as tasks.
If the Role User Level is Manual, the assigned acces rights are not automatically updated (e.g. if
a role has a restricted number of Windows/Processes it can access). You need to add organiza-
tional access unless the role has access to all organizations. The SuperUser and the user creating
a new role are assigned to the role automatically.
If you select an Organization Tree, the user has access to the leaves of summary organizations.
Note: You cannot change the System Administrator role.
Table Name : AD_Role
(See next page for screenshot)
Approve own Documents Users with this role can approve their own documents
If a user cannot approve their own documents (orders, etc.), it needs to be approved by someone
else.
(continue next page)
96
Asia e-University
Master in Open Source ERP
Overwrite Price Limit Overwrite Price Limit if the Price List enforces the Price Limit
The Price List allows to enforce the Price Limit. If set, a user with this role can overwrite the
price limit (i.e. enter any price).
Preference Level Determines what preferences the user can set Preferences
allow you to define default values. If set to None, you cannot set any preference nor value pref-
erence. Only if set to Client, you can see the Record Info Change Log.
Show Accounting Users with this role can see accounting information This allows to prevent
access to any accounting information.
97
Asia e-University
Master in Open Source ERP
Access all Orgs Access all Organizations (no org access control) of the client When
selected, the role has access to all organizations of the client automatically. This also increases
performance where you have many organizations.
Use User Org Access Use Org Access defined by user instead of Role Org Access You can define
the access to Organization either by Role or by User. You would select this, if you have many
organizations.
Personal LockAllow users with role to lock access to personal records If enabled, the user
with the role can prevent access of others to personal records. If a record is locked, only the user
or people who can read personal locked records can see the record.
Personal Access Allow access to all personal records Users of this role have access to all
records locked as personal.
Confirm Query Records Require Confirmation if more records will be returned by the query
(If not defined 500) Enter the numer of records the query wil return without confirmation to
avoid unnecessary system load. If 0, the system default of 500 is used.
Max Query Records If defined, you cannot query more records as defined - the query criteria
needs to be changed to query less records Enter the numer of records a user will be able to
query to avoid unnecessary system load. If 0, no restrictions are imposed.
From the window screen you can see many other tabs which control or refine the types
of access for that role. This allows many different roles been fulfilled for any type of or-
ganisational needs.
Next we look at how the User and Organisation windows are used.
98
Asia e-University
Master in Open Source ERP
Window: User
Description : Maintain Users of the system
Help : The User Window allows you to maintain User of the system. Users can log into the sys-
tem and have access to functionality via one or more roles. A user can also be a business partner
contact.
Tab: User Contact
Description : Maintain User or Business Partner Contact
Help : The User Tab defines the log in for Users who have access to the system. For application
access, users need to have a role assigned.
Table Name : AD_User
99
Asia e-University
Master in Open Source ERP
The User account is what is needed to login into the ERP system. Thus everyone who
has access to the ERP has a login ID and Password. Under the Queries tab, is stored all
the defined Advanced Search filters by the User.
Full BP Access The user/concat has full access to Business Partner information
and resources
If selected, the user has full access to the Business Partner (BP) information (Business Docu-
ments like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the
user has no access rights unless, you explicitly grant it in tab "BP Access"
100
Asia e-University
Master in Open Source ERP
LDAP User Name User Name used for authorization via LDAP (directory) serv-
ices Optional LDAP system user name for the user. If not defined, the normal Name of the
user is used. This allows to use the internal (LDAP) user id (e.g. jjanke) and the normal display
name (e.g. Jorg Janke). The LDAP User Name can also be used without LDAP enables (see sys-
tem window). This would allow to sign in as jjanke and use the display name of Jorg Janke.
101
Asia e-University
Master in Open Source ERP
Window: Organization
Description : Maintain Organizations
Help : The Organization Window allows you to define and maintain Organizational entities. An
Organization is often a legal entity or sub-unit for which documents and transactions are proc-
essed
Tab: Organization
Description : Define Organizations
Help : The Organization Tab is used to define an Organization. Each Organization has a Key and
Name and optionally a Description. When adding a new organization, you must re-login to be
able to access the new organization.
Table Name : AD_Org
102
Asia e-University
Master in Open Source ERP
Organisation structure is more of reporting impact where you can organise your data
according to the organisation tree. There can be unlimited summary organisations to
govern over the whole structure. The * (asterisk) organisation means ‘All’ organisations.
The following chapters will use the Garden World client to examine the various compo-
nents and business cycles of the ERP. It won’t use the new client so as not to burden the
new student. In a later module such as Presales and Business Analysis, we can look
deeper into how to develop the new client to function more fully. Still, for those who
wish to do that earlier may refer to the ADempiere online wiki.
Quiz
1. Why would a User need a Role?
2. What else do you define first within the system for a User?
103
Asia e-University
Master in Open Source ERP
Glossary
Terminology Explanations
Client Highest sole entity in ADempiere, commonly as Company
104
Asia e-University
Master in Open Source ERP
Summary
1. After successful installation, you can setup a new company for the ERP;
2. The new company or Client will have its own Organisations, Users and Roles;
105
Asia e-University
Master in Open Source ERP
Chapter 4 - Materials
Learning Objectives
By the end of this chapter, the student shall be able to:
Introduction
This chapter and the others after the New Client Setup will start on the functionality of
the main components in ADempiere. It will rely on the sample Garden World client al-
ready included in the system. In the Presales and Analysis Module will we go into the
new client setup further.
In many ERP systems, the term materials refers to what is commonly known as prod-
ucts. Products are the heart of any business and thus is also core in an ERP System. It is
what you use to trade with. You buy and sell products. All activities associated with
such trading makes up alot of functionaility in the ERP. The handling of a product will
involve the supplier of the product, its price, its attributes and its accounting conse-
quences when a movement or trade is made.
106
Asia e-University
Master in Open Source ERP
Help : Define your products manually. You should verify the settings especially if you import
your products.
This workflow allows you to plan your product creation starting from defining what are your
warehouse locators that you would have in your ERP. Small users may just have one or not at all
(they would still have a default one as system reference). Each product will have its own Unit of
Measure (UOM), at least as an ‘each’. Produc Category allows the users to plan the grouping of
the products for better reporting and accounting purposes. Tax Category is associated with the
Product Category to save from defining again for each similar product.
107
Asia e-University
Master in Open Source ERP
3 Types Of Product
The concept of products in ERP can be divided into 3 types - Item, Resource or Service.
As you can see in the illustration, each type of product has its uses.
ITEM - this is the standard understanding of a product. It is something you can touch
and store in the warehouse. It has a location for you to put it in if it is stockable. If not it
is just bought and sold without having a location in your ERP System.
RESOURCE - this is a type of product that is time-based and not stockable. Its Unit of
Measure (UOM) is in Minutes, Hours, Days, Months and so on. Examples are consult-
ants selling their man-days, premises for occupying and vehicles for rent.
SERVICE - this is a kind of product that is virtual and repeatable such as website sub-
scription, prepaid phone subscription and club membership where its supply is not ex-
haustable.
108
Asia e-University
Master in Open Source ERP
Storage of Products
All products will show up in the storage window or Warehouse Locators of the ERP
System as you can see in the screenshot below of the Product Info window.
Study the window particularly the Available column. Note that the Resource and Serv-
ice products have 99,9999 as quantity to signify that they are not counted based on
stockable basis.
NOTE: This window is called from the top menu > View and not from the Main Menu.
It is a standard item on every ERP window’s top menu panel.
109
Asia e-University
Master in Open Source ERP
You can create the product in this window as a first step in the product creation process even
without creating Product Category or UOM. In such a case you just use the Standard and Each
values. You may also create the product on the fly from a Sales Order or Purchase Order by
zooming from there into this Product window.
One picky prerequisite for a product is its Locator and Price List. If there is no Locator or Price
List, the product may not be processed in an Order document. But if you are in a hurry, you can
still proceed with a Standard Locator and a Standard Price List with a zero price! But this may
have accounting consequences particularly when you are using Average Costing or LIFO/FIFO
rule. But then again you can use Standard Costing!
Note the following page showing the Product window. In the first Product Tab there we can see
many fields. Don’t worry about that. The Application Dictionary can take care of that. But more
on that in the Presales and Business Analysis module.
For now you can take note of some interesting boxes such as the Stocked, Purchased and Sold
boxes.
STOCKED will mean that it will show up its quantities in the Product Info or Locator window.
PURCHASED would allow it to appear when enquring in the Purchase Order. SOLD will be
likewise allowing it to appear in a Sales Order.
In further tabs the important ones are Purchasing to set costing information, Business Partner
to set the supplier of the product that will automatically appear in the Purchase Order and the
Price tab.
The Accounting tab is usually defaulted to standard defaults in your COA (Chart of Accounts).
The BOM (Build of Materials) tab is used only when you are designing a manufactured product
such as a furniture set. The BOM is also undergoing migratin to the Libero more fuller manufac-
turing function. However there is need to maintain the BOM as a simple Sales Kit where simple
items can be bundled into product packages.
The Self Service box indicates whether end users can order the items on the WebStore compo-
nent of the ERP System.
110
Asia e-University
Master in Open Source ERP
Tab: Product
Description : Define Product
Help : The Product Tab defines each product and identifies it for use in price lists and orders.
The Location is the default location when receiving the stored product.
Table Name : M_Product
111
Asia e-University
Master in Open Source ERP
Search Key Search key for the record in the format required - must be
unique
A search key allows you a fast method of finding a particular record.
If you leave the search key empty, the system automatically creates a numeric number. The
document sequence used for this fallback number is defined in the "Maintain Sequence" window
with the name "DocumentNo_<TableName>", where TableName is the actual name of the table
(e.g. C_Order).
112
Asia e-University
Master in Open Source ERP
Drop Shipment Drop Shipments are sent from the Vendor directly to the Customer
Drop Shipments do not cause any Inventory reservations or movements as the Shipment is from
the Vendor's inventory. The Shipment of the Vendor to the Customer must be confirmed.
113
Asia e-University
Master in Open Source ERP
Featured in Web Store If selected, the product is displayed in the inital or any empty
search
In the display of products in the Web Store, the product is displayed in the inital view or if no
search criteria are entered. To be displayed, the product must be in the price list used.
Self-Service This is a Self-Service entry or this entry can be changed via Self-Service
Self-Service allows users to enter data or update their data. The flag indicates, that this record
was entered or created via Self-Service or that the user can change it via the Self-Service func-
tionality.
114
Asia e-University
Master in Open Source ERP
Tab: Purchasing
Description : Purchasing
Help : The Purchasing Tab define the pricing and rules ( pack quantity, UPC, minimum order
quantity) for each product.
Table Name : M_Product_PO
Current vendor Use this Vendor for pricing and stock replenishment
The Current Vendor indicates if prices are used and Product is reordered from this vendor.
115
Asia e-University
Master in Open Source ERP
Use this field to enter the bar code for the product in any of the bar code symbologies (Codabar,
Code 25, Code 39, Code 93, Code 128, UPC (A), UPC (E), EAN-13, EAN-8, ITF, ITF-14,
ISBN, ISSN, JAN-13, JAN-8, POSTNET and FIM, MSI/Plessey, and Pharmacode).
Order Pack Qty Package order size in UOM (e.g. order set of 5 units)
The Order Pack Quantity indicates the number of units in each pack of this product.
116
Asia e-University
Master in Open Source ERP
Tab: Price
Description : Product Pricing
Help : The Pricing Tab displays the List, Standard and Limit prices for each price list a product
is contained in.
117
Asia e-University
Master in Open Source ERP
Tab: Accounting
Description : Define Accounting Parameters
Help : The Accounting Tab defines the defaults to use when generating accounting transactions
for orders and invoices which contain this product.
118
Asia e-University
Master in Open Source ERP
The Product Expense Account indicates the account used to record expenses associated with this
product.
Purchase Price Variance Difference between Standard Cost and Purchase Price (PPV)
The Purchase Price Variance is used in Standard Costing. It reflects the difference between the
Standard Cost and the Purchase Order Price.
Invoice Price Variance Difference between Costs and Invoice Price (IPV)
The Invoice Price Variance is used reflects the difference between the current Costs and the In-
voice Price.
119
Asia e-University
Master in Open Source ERP
The Trade Discount Granted Account indicates the account for granted trade discount in sales
invoices
Quiz
• Where do you setup the Replenishment information for a product?
120
Asia e-University
Master in Open Source ERP
WebStore
Those items that are marked as self-service and webstore will appear when you RUN_Server2
and assign an IP to your web server for others in the web to access it. Below is a screenshot of
the webstore.
It is called from the web browser in the form of http://<IP>:port no/admin and clicking on the
Web Store link.
121
Asia e-University
Master in Open Source ERP
Glossary
Terminology Explanations
Available quantity The amount that can be sold (on-hand less sold quantity)
122
Asia e-University
Master in Open Source ERP
Summary
1. Product is the concept of what is traded by a user.
3. There are various information associated with a product to govern its treatment in
the ERP system.
5. There can be different PriceList Versions such as Purchase and Export pricings.
8. It can be assigned to a Category and appear on the Web Store for Self-Service pur-
chase by online customers.
123
Asia e-University
Master in Open Source ERP
Learning Objectives
By the end of this chapter, the student shall be able to:
Introduction
Just like products there is a larger concept to what is Business Partners. It can stand for
Vendors, Customers, Sales Reps and Employees. Just like the Product window the BPartner
as it is commonly refered to, has also many tabs to handle various types of properties.
There is a Standard BPartner that acts as default if no one is defined such as for Walk-in
customers or testing purchases. You can create BPartner on the fly and with minimal in-
formation. Each user login should have a BPartner record besides the User record.
BPartner also has base information for CRM (Customer Relationship Management) such
as prospecting and credit-worthiness information.
124
Asia e-University
Master in Open Source ERP
Help : The Business Partner Tab defines any Entity with whom an organization transacts.
125
Asia e-University
Master in Open Source ERP
If active, the status is set automatically set to Credit Hold, if the Total Open Balance (including
Vendor activities) is higher then the Credit Limit. It is set to Credit Watch, if above 90% of the
Credit Limit and Credit OK otherwise.
126
Asia e-University
Master in Open Source ERP
If the Business Partner is another Organization, select the Organization or set to empty to create a
new Organization. You link a Business Partner to an Organization to create explicit Documents
for Inter-Org transaction.
If you create a new Organization, you may supply a Organization Type. If you select a Role, the
access to the new Organization is limited to that role, otherwise all (non manual) roles of the Cli-
ent will have access to the new Organization.
Employees
Number of employees Indicates the number of employees for this Business Partner. This field
displays only for Prospects.
127
Asia e-University
Master in Open Source ERP
Tab: Customer
Description : Define Customer Parameters
Help : The Customer Tab defines a Business Partner who is a customer of this organi-
zation. If the Customer check box is selected then the necessary fields will display.
128
Asia e-University
Master in Open Source ERP
Delivery Rule Defines the timing of Delivery The Delivery Rule indicates
when an order should be delivered. For example should the order be delivered when the entire
order is complete, when a line is complete or as the products become available.
129
Asia e-University
Master in Open Source ERP
Min Shelf Life % Minimum Shelf Life in percent based on Product Instance
Guarantee Date
Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products
with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, un-
less you select "Show All"
130
Asia e-University
Master in Open Source ERP
Help : The Customer Accounting Tab defines the default accounts to use when this business
partner is referenced on an accounts receivable transaction.
131
Asia e-University
Master in Open Source ERP
Account to post services related Accounts Receivables if you want to differentiate between Serv-
ices and Product related revenue. This account is only used, if posting to service accounts is en-
abled in the accounting schema.
• A Resource Product can be engaged and view in a Schedule Info panel? It shows within a cal-
endar format so that we know when that resource is engaged and for how long.
132
Asia e-University
Master in Open Source ERP
Tab: Vendor
Description : Define Vendor Parameters
Help : The Vendor Tab defines a Business Partner that is a Vendor for this Organization. If the
Vendor check box is selected the necessary fields will display.
133
Asia e-University
Master in Open Source ERP
Tab: Location
Description : Define Location
Help : The Location Tab defines the physical location of a business partner. A business partner
may have multiple location records.
134
Asia e-University
Master in Open Source ERP
If the Invoice Address is selected, the location is used to send invoices to a customer or receive
invoices from a vendor.
135
Asia e-University
Master in Open Source ERP
Help : The User identifies a unique user in the system. This could be an internal user or a busi-
ness partner contact
136
Asia e-University
Master in Open Source ERP
The Password for this User. Passwords are required to identify authorized users. For Adempiere
Users, you can change the password via the Process "Reset Password".
Full BP Access The user/concat has full access to Business Partner information
and resources
If selected, the user has full access to the Business Partner (BP) information (Business Docu-
ments like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the
user has no access rights unless, you explicitly grant it in tab "BP Access"
Quiz
• What are Business Partners?
• What is Dunning?
137
Asia e-University
Master in Open Source ERP
Glossary
Terminology Explanations
Any party that is transacted with which is either a creditor or
Business Partner
debtor or both.
Sales Representative A User that has a contact and sales role in the organisation
138
Asia e-University
Master in Open Source ERP
Summary
1. A Business Partner is the generic term to describe any party or person that has busi-
ness dealings in a transaction. A Resource (consultant) may not be a BP as s/he is a
product that is 'sold' in the ERP.
2. Customers are those we transact with where we can receive money from them. A
person taking a loan is thus a customer.
5. A Vendor can be a Customer too if we pay and also collect payments from that party
at the same time.
139
Asia e-University
Master in Open Source ERP
Learning Objectives
By the end of this chapter, the student shall be able to:
Introduction
A Purchase Cycle can start from a Requisition where upon approval is converted into a
Purchase Order, and then Material Receipt the ordered goods into storage. From there
the system can generate an Invoice and allow for Payment to the Vendor. The system
will also automatically update the accounts.
During Receipts, it can be full or partial receipt. The system remembers the unreceived
balanced. This is an example of the power of an ERP system. Things are integrated so
that you need not remember everything.
In essence you need not use the Requisition in order to make a purchase. In fact, you
can just issue a PO with a few keystrokes - creating a new PO, making all the manda-
tory fields default to standard options and go to the PO detail line to state your product.
Upon pressing the complete button your PO is processed and you can print it to hand
over to your supplier.
Here we will go through as much detail as possible so as to be more confident of the
whole process. Also as we encounter new tricks we will also elaborate them such as the
Zoom and Preference functions.
140
Asia e-University
Master in Open Source ERP
Tab: Requisition
Description : Maintain Material Requisition
Table Name : M_Requisition
Notes:
1. A pink coloured field would mean that it is mandatory and has to have a value or else
it won’t be saved as a new record.
2. The processing button is at the right bottom and is pressed after filling in the header
here and the detail tab Requisition Line.
141
Asia e-University
Master in Open Source ERP
Notes:
1.Leaving the parameter fields blank will still work unless it is been coded to accept
non-blank values.
2. By putting in values and making selections will filter or reduce the results.
3. It is interesting to note that the design of the above Process can be done by you with-
out any coding! It is taken care at the System Admin’s Application Dictionary. In the
Presales and Analysis Module we shall go through this in more detail.
142
Asia e-University
Master in Open Source ERP
You can have your PO generated from the Requisition or you can start just here without any
Requisition especially if you are a small company that need no requisition and approval process.
Let’s say you got a call from a supplier and you agreed to order something from him. You can
create his vendor record just by right clicking on the Business Partner field and select New Re-
cord as shown on the figure below.
C o p y r i g h t ( C ) 2 0 0 9 R e d h u a n D . O o n , A D e m p i e r e C o m m u n i t y
ERP Application Setup and Operation
143
Asia e-University
Master in Open Source ERP
You will have the following window opened. Notice the difference in size from the fuller Busi-
ness Partner window. It has less values to key in so that you can quickly create the vendor’s re-
cord and get right to filling out the
PO details.
Remember that we are trying out the
sample Garden World, so you have
to login into that before proceeding
this exercise. Here we try some sim-
ple test data such as PaperShop for
the Search Key value, Amigo for the
Name of the Business Partner.
When filling in you will notice the
Address field. That is for creating a
sub record called BPartner Loca-
tion which is mandatory before the
PO can be processed. It is because
the system will need to know where
is the purchase going to be made
from and to where will its payment
be made to later.
144
Asia e-University
Master in Open Source ERP
145
Asia e-University
Master in Open Source ERP
Now back to the PO header. You will notice the header information now contains the new Busi-
ness Partner and its Location is also filled in automatically.
The other field that is still pink is the Company Agent which is the Sales Rep of your company
or your employee that is suppose to handle this Purchase or Supplier. You can just choose Gar-
denAdmin to shut it up.
Note that you have other fields already preset such as Payment Rule where it is already set at
On Credit. You can choose to have the Cash or Cheque payment rule. There is also the Payment
Term where you can choose to pay in part payments and so on. If you wish to change them again
you can use the right-click of the mouse over the respective fields and choose Zoom to get into
the associated windows controlling those values. You can then create new terms or rules. For
now we accept what we have here to get a feel of the whole process of purchasing.
Note also the Price List which is now set to Standard. But you can set it to Purchase. Now we
can go to the PO Line tab to start ordering our product from this supplier.
146
Asia e-University
Master in Open Source ERP
Tab: PO Line
Description : Purchase Order Line
Help : The Purchase Order Line Tab defines the individual items in an order.
Table Name : C_OrderLine
147
Asia e-University
Master in Open Source ERP
Processing the PO
At the main PO header tab we then just go to the bottom right button which shows the action
recommended which is Complete. Click on it.
The Complete process will check the PO document to be in order and complete with all the rules
checked. It will also set aside for the Ordered Qty in the Product Info window.
In the Warehouse Locator information you can see that the Paper product which has no avail-
ability is now set with an Ordered Qty of 10. This will tell the user that such an item is been or-
dered from the stated Vendor.
You can pay attention to this information later. When there is Material Receipt from this Ven-
dor, the On Hand Quantity and the Available Qty shall change to whatever quantity is re-
ceived. This we shall demonstrate at the Material Receipt window after this.
(Note that we will show the printing facility under Sales Order later to spread out the notes. Here
we assume that you will print it yourself the PO and hand it over to the vendor.)
148
Asia e-University
Master in Open Source ERP
Accounts Posting
Note that a new button Not Posted appeared. That is the Financials Integration part of the ERP
System. It will post when the Application Server is running. We will get to that later. However
for Purchases, there won’t be any accounting unless the Accounting Schema is set to PO Com-
mitment Accounting which is mostly used in government agencies which regard that a processed
PO is a committed one that has factual impact on the Cash position of the Balance Sheet.
Completed Status
Note at the absolute bottom of the screen is a Completed status. The processing button has also
turned to show Close.
Document Types
It is a good time to talk abit about the Document Type and the way it is processed in the ERP
system. Now you already hear about the PO or Purchase Order. From there if you are familiar
with the organisation of a purchasing department you will come across Vendor Invoice, Shi-
ments, Payments and Delivery Orders. Those are what we called Document Types. The system
takes note what that is during processing. (For a Sales Order which will also go through its cycle
later, there are several Document Types associated with it. Among them are POS (Point of Sales)
where cash is paid and goods are shipped over the counter.)
At the PO level, when that is processed, the system will allow other Document Types to follow.
They are the Invoice and Material Movement documents. If the PO is not processed the subse-
quent processes will not pick it up. Thus the documents are managed in a supply chain where
initiated information at the PO level is passed on from Receipts, to Invoice, to Payments without
the user bothering to remember everything and repeat the same input again and again at each
document process.
149
Asia e-University
Master in Open Source ERP
Material Receipts
Here we will now see what happens next. After issuing a PO to a vendor, we will just wait for the
vendor to send the ordered goods. We then track the status of that in Material Receipts.
This new document is an inward Shipment record, that shows what a vendor is sending for re-
siding in our warehouse locator.
This can also be looked upon as a Delivery Order from the vendor. However we have to double
check the quantities delivered. We do not have to key in again the product as that information is
carried forward from the PO. Note that here we just key in the vendor name Amigo (when he did
show up with the delivery!).
150
Asia e-University
Master in Open Source ERP
Then we click on the Create lines from button. We shall get the following screen.
We can now view the vendor’s outstanding undelivered POs by pulling down the menu of the
Purchase Order list as shown here. We can also do the same for issued Invoices. In this case there
is only one record from this BPartner vendor.
Upon selecting that and clicking on the OK sign, it will generate the Receipt Line record for us
without us filling the details in ourselves.
By adjusting the delivered quantity, will tell the system to remember what is not delivered. So
that the next time you Create lines from again, it will still show the same PO but carries only the
balance undelivered. When the total quantity is delivered, then the PO will not show up again in
the pull down list for that vendor.
Now, this is true integration power. That is what an ERP is about and that is what you want for
saving your organisation time and effort in handling more and more business.
151
Asia e-University
Master in Open Source ERP
Help : The Shipment Line Tab defines the individual items in a Shipment.
Then go to the Receipt Line tab and you can see one record created as a result of our last action.
It has details such as even the Purchase Order Line from which it is derived from. Note that the
quantity is stated exactly as we ordered it. If the vendor delivered a lesser quantity, then you may
change that. I would try it out and admit only 6 this time. Then we go to the header tab and com-
plete the process. After confirming the
Complete action, you will see the bottom to
change accordingly with a ‘Completed’
status and a Not Posted button appears.
152
Asia e-University
Master in Open Source ERP
Posting Accounts
Let’s change that by turning on the application server. By RUN_Server2 we can turn it on so that
the accounts posting can happen. Go to your Adempiere/utils directory and execute this:
./RUN_Server2.sh
You will see prompts for a few minutes while the apps server start up until it comes to the line
‘Server startup in 47 ms’ (or the time it does in your server PC).
Go back to your Not Posted button and click on it (or refreshing the window by leaving and
coming in again later). A dialog to confirm will appear.
153
Asia e-University
Master in Open Source ERP
There may be an error message saying that the application server is not running. But look at the
button again to see if it you get the Posted status.
If so, you can click on it again (or from the top menu bar, select View, select Accounts Info).
It will show you the accounts that was just posted:
The financials integration has worked! Again, this a demonstration of the power of an integrated
ERP system. Your accounts department need not be doing the extra human and manual work to
ensure the details are correct and faithfully post the accounts at the end of the month. It is all
done here for this action. Later in the ERP Accounting module we shall go into this in greater
detail.
As you can see in the accounts info view, there is a line that says Not invoiced receipts. It means
that the vendor has not served its invoice to you. Once you get that invoice you can create a re-
lated Invoice (Vendor) in the system so that it remembers that you need to pay for it later. You do
that by first Complete your Material Receipt. After clicking on the processing button, you then
click on the Generate Invoice From Receipt button. This dialog box will appear:
154
Asia e-University
Master in Open Source ERP
You can see that the total amount is for 6 delivered paper units instead of the ordered 10. You can
go to the Invoice Line tab and see the invoiced quantity. So, the system can keep track of the ac-
tual events in the trading cycle for your convenience without taking out a pen and writing it eve-
rywhere. Try completing this invoice and post the accounts and check it on the Account Viewer.
C o p y r i g h t ( C ) 2 0 0 9 R e d h u a n D . O o n , A D e m p i e r e C o m m u n i t y
ERP Application Setup and Operation
155
Asia e-University
Master in Open Source ERP
3-way Matching
The figure below shows the latest accounts after completing the Invoice (vendor).
The system also does a matching with the PO and the Receipt documents. Examine them by
looking at the respective tabs in the Invoice (vendor) - Matched POs and Matched Receipts.
Now that the supplier has sent in some goods and all the papers seem to be in order let us think
about paying the vendor!
156
Asia e-University
Master in Open Source ERP
Inventory Check
But first let’s take a look again at the Product Info viewer to see whether the paper is in.
As you can see, The paper item is showing up in the Available and On Hand Quantity columns
with the expected count of 6. The Ordered Quantity is now at 4. All this happened when we
confirmed the Material Receipt document just now.
Now you can keep track of what has not been delivered yet. At the same time you will be able to
check your inventory of available paper that you might want to sell to your customers.
Hmm, now what did we forget? Oh yes, we forgot to pay the suppler! We shall do that via the
Payment window.
Making Payments
There are a couple of ways payments can be made in the system. Firstly there are payments com-
ing in from Sales Transactions. Payments out will be for the suppliers or vendors. In our case
here it is payment out.
Then there are the types of payment modes. Some are paid in cash. Some by cheque. Or even
credit card. In our case we wish to pay by cheque. Still there are 2 ways of making payments in
ADempiere. First is the Payment and Allocation way. But we prefer the Payment Selection
way which results in a Cheque print. In ADempiere which uses US terminology a cheque is
called a ‘check’. We shall then examine the accounting consequences of our actions. At the mo-
ment it is unclear why the first way doesn’t print a cheque. So we shall go into it more deeply in
other modules such as in ERP Accounting later. For now, we show both. We repeat by making
another similar purchase for the 2nd way.
157
Asia e-University
Master in Open Source ERP
Window: Payment
Description : Process Payments and Receipts
Help : The Process Payments Window allows you to enter payments and reaipts for invoices. If
the payment is for a single invoice then it can be processed here. If it is for multiple invoices or
is a partial payment then it should be processed in the Payment Allocation Window.
Tab: Payment
Description : Payment or Receipt
Help : Enter payment or receipt for a Business Partner. If it is for a single invoice it can be allo-
cated directly to that invoice using this screen. You can also apply over/under payments:
You have an over-payment, if you received more money than due for a single invoice. Instead of
writing the difference off (i.e. would be a gain), you can leave the amount unallocated and use it
for later invoices or credit memos. Please note that the Amount is the payment amount, so you
need to enter the over-payment as a negative amount.
You can also receive a partial payment (under-payment). If you decide not to write off the re-
maining invoice amount, enter the under-payment as a positive amount.
Note that printed payments are archived in Payment Selection (Prepared Payment).
For Posting, the bank account organization is used, if it is not a charge.
Table Name : C_Payment
NOTE: We have to select AP Payment as we are paying, and put in the name of the vendor:
Amigo. Then we go to the Allocation tab.
C o p y r i g h t ( C ) 2 0 0 9 R e d h u a n D . O o n , A D e m p i e r e C o m m u n i t y
ERP Application Setup and Operation
158
Asia e-University
Master in Open Source ERP
Tab: Allocate
Description : Allocate Payments to Invoices
Help : You can directly allocate payments to invoices with the same currency when creating the
Payment. Note that you can over- or under-allocate the payment. When processing the pay-
ment, the allocation is created.<b> The Organization is set to the invoice organization
Table Name : C_PaymentAllocate
We click on the refresh button on the bottom left to get the line above. Then click OK.
Note that there is a Sales Transaction checkbox. That is ticked when you want to accept pay-
ments from customers.
159
Asia e-University
Master in Open Source ERP
After accepting the detail line, we return to the main header of the Payment window and process
it.
When the process is complete, you can examine the results in the lower tabs. You notice that an
Allocation Line has been created for the amount of 6 unit of papers at $72.00.
160
Asia e-University
Master in Open Source ERP
Let’s peek into the Account Viewer and see what happens when a Payment has been Allocated.
But then later I found out that I could not issue a cheque under Payment Print/Export as the mat-
ter seems to be accounted for and does not appear again. Thus I created another PO for 10 units
again and received 6 units to attempt the 2nd way of issuing payments. This time I use the Pay-
ment Selection window instead and found out that a cheque print can happen. Let’s see how it is
done.
Quiz
• How many ways are there to create a PO?
161
Asia e-University
Master in Open Source ERP
162
Asia e-University
Master in Open Source ERP
Now the payment selection record is created from the source invoice and done.
We can now give the header a once over and complete the Payment before proceeding to print
the cheque. We do that in the Payment Print/Export window.
163
Asia e-University
Master in Open Source ERP
Note that the printout is in 2 portions. The upper portion is printed over a pre-printed cheque. It
has wordings for the amount tendered. This can be printed in local currency wordings too. The
following figure shows a sample I did using the local Malaysian currency for another case.
164
Asia e-University
Master in Open Source ERP
You can also print out the remittance when prompted to do so. The printout is as follows.
With this we come to the end of a transaction cycle which is the Purchase cycle. There are other
functions of the ERP system you can call on such as reports to show the status of your purchases,
receipts and payments. Also financial statements such as the Balance Sheet or Profit & Loss
Statement. That will be given more attention under the ERP Accounting module.
Next we will examine some exceptional parts of the Sales cycle.
165
Asia e-University
Master in Open Source ERP
Glossary
Terminology Explanations
166
Asia e-University
Master in Open Source ERP
Summary
1. The Purchase Cycle is a systematic process starting from Requisition to Payment.
3. New information can be created on the fly via the Zoom and New Record from
right-click selection at that field.
4. When a purchase is made, the inventory is ‘ordered; and appears in the Product Info
Viewer.
6. Any documents processed will result in automatic accounts posting according to the
document type and posting rules.
7. The Application Server has to be up before the accounts posting can be done.
9. Payment record with cheque printing is made after the invoice process.
167
Asia e-University
Master in Open Source ERP
Learning Objectives
By the end of this chapter, the student shall be able to:
Introduction
A Sales Cycle is like the Purchase Cycle but in the opposite direction. A Sales is made to
a Customer instead of a Purchase from a Vendor Supplier. Similar to Purchases, Sales
are recorded in a C_Order and C_OrderLine (master/detail) tables. So is the Shipment
similar to the Material Receipts which is in M_Shipment/Line. Both Invoices are in
C_Invoice/Line. Payments in C_Payment/Line.
168
Asia e-University
Master in Open Source ERP
169
Asia e-University
Master in Open Source ERP
As said, the Sales Order or SO in short, is directed to a customer. However an SO is quite a ver-
satile document. It can have the following sub document types:
DocType Details
POS Point of Sales - where Payment and Shipment is immediate
Credit Order Will generate the Order, Delivery Note and Invoice.
A Shipment document (like the Material Receipt document) has an effect on inventory and uses
the same database table which is M_InOut. After the Shipment document generated from an SO
is processed, then only the On-Hand column figure takes effect.
Next page we will look more closely at the Document Type window and its notes on its types in
full. They are the heart of an ERP document flow and processing.
170
Asia e-University
Master in Open Source ERP
171
Asia e-University
Master in Open Source ERP
Pro forma Invoice Indicates if Pro Forma Invoices can be generated from this
document The Pro Forma Invoice checkbox indicates if pro forma invoices can be generated
from this sales document. A pro forma invoice indicates the amount that will be due should an
order be shipped.
Document Type for ProForma Document type used for pro forma invoices generated
from this sales document The Document Type for Invoice indicates the document type that
will be used when an invoice is generated from this sales document. This field will display only
when the base document type is Sales Order and the Pro Forma Invoice checkbox is selected
172
Asia e-University
Master in Open Source ERP
Document Type for Invoice Document type used for invoices generated from this sales
document The Document Type for Invoice indicates the document type that will be used
when an invoice is generated from this sales document. This field will display only when the
base document type is Sales Order.
Document Type for Shipment Document type used for shipments generated from this
sales document The Document Type for Shipments indicates the document type that will
be used when a shipment is generated from this sales document. This field will display only
when the base document type is Sales Order.
173
Asia e-University
Master in Open Source ERP
Default Counter Document The document type is the default counter document type
When using explicit documents for inter-org transaction (after linking a Business Partner to an
Organization), you can determine what document type the counter document is based on the
document type of the original transaction. Example: when generating a Sales Order, use this
Sales Order document type.
This default can be overwritten by defining explicit counter document relationships.
174
Asia e-University
Master in Open Source ERP
Value Preference
We shall start the Sales Order process but attempt to encounter new stuff along the way not seen
while on the Purchase Order cycle. Firstly you will notice that your Sales Order may be set to
POS DocType. You can make another DocType as your default. First select your prefered one in
this case I set it to Standard Order. Then right click on the field to see the options. We want to
select the Value Preference setting option.
Just click the OK sign and that Key setting of Standard Order will be set for this User (your
login) and Window. As you can see you can set it with finer organisation differentiation.
175
Asia e-University
Master in Open Source ERP
Resource Product
Let us try to sell something else. We more or less already know what is an item that is stored in
the warehouse. How about another kind of item such as a consultant’s time? That will be called a
Resource Product. At the Order Line tab, we click on the Resource Assignment field.
176
Asia e-University
Master in Open Source ERP
You may feel that it is redundant to key in again the Name ‘Amigo’. Why can’t the system takes
the BPartner’s name right away? Well, since it is an Open Source project we can do that by
modifying the codes. That we shall do later in the ERP Software Development module. Now just
click on the OK button.
177
Asia e-University
Master in Open Source ERP
Here we are back at the Sales Order header tab. Note that we are trying out a new Payment Term
here which is 50% down and the balance 50% in 30 days time. Let’s see what the system can
make out of it later.
Click on the Complete button and then head for the
Print icon which is circled in red.
The system will call the Print Format module and gen-
erate the Sales Order printout. Print Format is part of the Application Dictionary that sets what
document prints what format. The formats can be reused across the Client and its organisations.
It can also be modified for particular users and conditions. In the next screen we show the pre-
view mode of the Sales Order printout.
178
Asia e-University
Master in Open Source ERP
Note that the Order Header format is pulled to show other options to create a new version or
modify the Template. Note also the deisgn editor icon on the right of it. It allows you to modify
your version.
But look. There is another inconvenient twitch. It came out in 2 pages instead of one.
On examination it seems that maybe the Description column can be slimmer. Also the content is
repeated. Let’s see how easy it is to fix a print format. Click on the design editor icon to get to
the Print Format window.
179
Asia e-University
Master in Open Source ERP
We will delve deeper into the Print Format under ERP Intelligence. For now we go to the detail
panel. That is an embedeed Print Format within this Print Format. Go to the Format Item tab to
look for it. Note the Sales Order record.
180
Asia e-University
Master in Open Source ERP
You can see that it has an Included Print Format. That is the embedded item I stated earlier. It
means that the line is actually another Print Format but in row layout mode. Bring your mouse
pointer to that line and do a right-click.
Nice. Now you can zoom into another Print Format but of that record. Select Zoom option.
181
Asia e-University
Master in Open Source ERP
Now you are in the Order LineTax print format. Note that both the header and this format refers
to tables that have ‘_v’ suffix. That signifies a View table. More on that in the ERP Intelligence
module. We now go looking for that Description field that we want to fix. Click on the Format
Item tab.
Click on the single record grid view so that we can examine its properties more easily.
182
Asia e-University
Master in Open Source ERP
183
Asia e-University
Master in Open Source ERP
After going through it, you can call up again your Sales Order and printout again. See if it is
fixed.
From here you should be able to do Shipment out and Invoice Customer. Also try the accounts
posting. From here we can conclude that you have gone through some good hard learning curve!
184
Asia e-University
Master in Open Source ERP
Quiz
• How is a Sales Order different from a PO?
Glossary
Terminology Explanations
Value Preference To set the value of the field for subsequent documents to use.
Included Print For- the embedding of another printformat object within another
mat print format object
ADempiere A FOSS ERP software that includes CRM, POS and SCM
Cache Reset to clear the cache of saved settings so that new changes can take
effect.
185
Asia e-University
Master in Open Source ERP
Summary
1. The Sales process is opposite of the Purchase process but uses the same document
tables such as C_Order, M_InOut, C_Invoicand C_Payment.
3. Sales Order uses different sub document types based on a common Document Type
as a concept in the functional processes in the ERP.
4. Many fields can have its own setting of default values selected by the users, done via
Value Preference.
5. The Print Format utility is used for modifying standard documents printout.
6. Detail lines part of a Print Format is easily accessed via the Zoom key.
186
Asia e-University
Master in Open Source ERP
187
Asia e-University
Master in Open Source ERP
188
Asia e-University
Master in Open Source ERP
189
Asia e-University
Master in Open Source ERP
190
Asia e-University
Master in Open Source ERP
191
Asia e-University
Master in Open Source ERP
192
Asia e-University
Master in Open Source ERP
193
Asia e-University
Master in Open Source ERP
194
Asia e-University
Master in Open Source ERP
195