Volume and Weights are not imported in Product importer

Description

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

Environment

globalqss361, java6, debian squeeze

Attachments

1

Activity

Show:

Thomas Bayen April 6, 2012 at 10:24 PM

As a exercise to contribute code I solved this old issue after installing a new code tree from trunk. I submitted it to my bitbucket repo and here as a patch.

Thomas Bayen April 6, 2012 at 10:22 PM

patch to solve this issue from tbayen

Fixed

Details

Assignee

Reporter

Components

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