CalloutOrder should check the Attribute Set configurations and the M_AttributeSetInstance_ID before throwing InsufficientQtyAvailable

Description

When creating a Order Line for a product that has a Atribute Set with an instance attribute, an InsufficientQtyAvailable message is showed for the users after the product (M_Product_ID) selection.

I think that this verification should be done just after the Attribute Set Instance selection.

More details at: https://groups.google.com/forum/#!msg/idempiere/g21_J4SK9NI/jJUgVv2Yv_kJ

Attached there's a patch that we use.

Environment

None

Attachments

1
  • 02 Mar 2015, 07:54 PM

Activity

Carlos Ruiz March 4, 2015 at 5:12 PM

- tested and the MStorageReservation.getQtyAvailable count all the products when the ASI is not set, so the patch is not necessary

Cannot Reproduce

Details

Assignee

Reporter

Labels

Components

Affects versions

Priority

Created March 2, 2015 at 8:02 PM
Updated June 1, 2015 at 3:50 PM
Resolved March 4, 2015 at 5:12 PM