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:
PatricG
June 25, 2020, 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.

Carlos Ruiz
June 26, 2020, 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

PatricG
June 29, 2020, 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.

Assignee

Carlos Ruiz

Reporter

Jason Martin

Labels

Tested By

None

Fix versions

Affects versions

Priority

Major
Configure