PO class does not correctly set defaults for all column types.

Description

Currently PO.java sets defaults only for the following columns:
CreatedBy
UpdatedBy
Created
Updated
<TableName>_ID
IsActive
AD_Client_ID
AD_Org_ID
Processed
Processing
Posted

Other columns are not processed until they are used in a window/field.

Creating and saving records programmatically doesn't benefit from the default information in the column definitions.

Solution is to adopt a similar logic to GridField and load all possible defaults when a new PO is created.

Open for discussion.

Environment

None

Assignee

Victor Perez Juarez

Reporter

Michael McKay

Labels

None

Priority

Major
Configure