How to create a complete new module in ADempiere

From ADempiere
Revision as of 03:09, 21 July 2011 by Kittiu (Talk) (What is in this tutorial?)

Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Overview

This tutorial will group multiple techniques explained in this website and try to explain in a step by step manner, for the reader to see the whole picture. This tutorial intend to teach how to create a complete but module in ADempeire based on a real working case.

Requirement

We will call this new module - Billing. In some country (i.e., in Thailand), there is a customary practice for a company to collect money from its customer only once in a month. For example, the customer has 3 payments due in a given month, the company must group all the due AR Invoices in the document call Billing Document and issue it with all the invoices to the customer on the Billing Day. The customer will be paying based on what shown in Billing Document in the following month.

What is in this tutorial?

Techniques used in the tutorial includes,

  • Window+Table - Billing / Billing Line
    • Billing Tab will be used as document header for the group of Invoice. User will specify the Business Partner and the Billed Date
    • Billing Line Tab will be used to list all the due invoices, which are either generated by the criteria in Billing Tab or manually add in
  • New Document Type - Billing
  • Multiple Validation Rules will be configured
  • Java Callouts used by field in Billing Tab
  • Process - Create Billing Lines from matched criteria in Billing tab
  • Jasper Report to create new Billing Form which can be print right from Billing Tab
  • Model Validator Technique that will intercept some process into Payment Document