Introduce methods to create/retrieve model objects to avoid direct use of new
Description
Introduce methods to instantiate new or db-persisted objects as a first step to remove usage of direct M** constructors, since they arent compatble with factory approach. Implement a central cache for PO objects.
Introduce methods to instantiate new or db-persisted objects as a first step to remove usage of direct M** constructors, since they arent compatble with factory approach.
Implement a central cache for PO objects.
Forum discussion with reference to previous talks about the issue:
https://groups.google.com/forum/#!topic/idempiere/Y8rz9wwu6j0