Unable to complete MR with qty >1 with Attribute Set of Always Mandatory

Description

Requirements -
Attribute Set = Serial No
Always Mandatory = Y

When completing a Material Receipt that has a Product with a Serial No. Attribute Set and the qty =>1 the user will use the Attribute tab to enter the new Serial numbers, an error occurs stating that the Attribute Set is mandatory.

Environment

None

Activity

Show:

Patric June 29, 2020 at 12:06 PM

Hi Carlos,
no, the Mandatory Type was set to Allways Mandatory =Y, but i was not able to reproduce the issue.
What i saw is that if i set the qty=10 and if i inserted a new ASI in the MR-Line, the qty was set back to 1 and i had to reenter to qty=10.

Carlos Ruiz June 26, 2020 at 7:28 PM

Hi , I think maybe you missed the "Always Mandatory=Y" part of the test case.

Created pull request https://github.com/idempiere/idempiere/pull/144

Patric June 25, 2020 at 10:46 AM

Triaged by Patric Massing

My Steps to try to Reproduce

1. Product PChar - AttributeSet with Serial No =Y - Mandatory Serial No - Mandatory Type = Always Mandatory
2. Created a new material receipt with a new serialno and completed this document.

Fixed

Details

Assignee

Reporter

Labels

Fix versions

Affects versions

Priority

Created March 30, 2016 at 7:16 PM
Updated June 1, 2021 at 6:06 PM
Resolved April 21, 2021 at 1:58 PM