Developing Plug-Ins - IModelFactory

From iDempiere en

Goal of this tutorial

The goal of this tutorial is to show, how you use the IModelFactory service in you plug-in project. The reason for this is, that e. g. if you have a model validator in your plug-in which uses the Query class, if you don't use the IModelFacotry properly, new Query().first() will return a "GenericPO" instead of your own model class.

Prerequisites

The workflow

Cookies help us deliver our services. By using our services, you agree to our use of cookies.