Fixed
Details
Assignee
Thomas BayenThomas BayenReporter
Thomas BayenThomas BayenComponents
Affects versions
Priority
Minor
Details
Details
Assignee
Thomas Bayen
Thomas BayenReporter
Thomas Bayen
Thomas BayenComponents
Affects versions
Priority
Created January 11, 2012 at 2:40 AM
Updated February 18, 2013 at 10:40 PM
Resolved April 7, 2012 at 10:41 PM
The ImportProduct Process initialized new Products with a Java Constructor which get the XX_I_Product as an argument. This constructor does not initialize volume and weight. (If you just update an old Product the error does not show up.)
While repairing it I found that in I_Product both the fields are integer fields and not BigDecimal. The database fields are numeric (this is right). This is because they are wrong declared in the AD.
Proposed Solution:
change the Fields' Reference in the AD to "Amount"
re-create Model Interface
write the missing initializers in the constructor