Product with ASI Mandatory Type = When Shipping is still mandatory on sales orders

Description

It's not possible to complete a sales order with products where Attribute Sets that have mandatory type = When Shipping.

Fix will soon be provided.

Environment

None

Activity

Show:
Daniel Tamm
August 29, 2014, 8:30 AM

Thanks for the info. How exactly would you change the asi mandatory per document type? I can't find any setting for it.

The problem with changing per document type is that ASI mandatory settings are set on the actual product. In this case I want a serial number to be mandatory when shipping (but not when ordering).

I add an attribute set called "serial number" to the product. This attribute set gets the mandatory type "When shipping".

Trying to order a product with that attribute set will produce an error that attribute mandatory.

I could make ASI not mandatory on purchase orders by changing the window settings, but that's too crude, since perhaps on some other products I want attributes to be mandatory even when ordering (ie colors / sizes).

Norbert Bede
August 29, 2014, 8:34 AM

i miss here. you can exclude it trough Attribute Set - related tab Exclude then enter table e.g. C_OrderLine. So no doctype based but database table !!

n

Daniel Tamm
August 29, 2014, 8:58 AM

I see, that's a good enough work around for now. Thanks

I'm attaching a patch that would patch release-2.0 according to how I think it should work.
(e4b51839d810) Invoice Print NPE in zk

I think the changes are reasonable, so if people agree it would be nice to have the patch in "core".

Daniel Tamm
August 30, 2014, 3:50 PM

Changing status to minor since a workaround exists. It don't find the workaround intuitive but if you know about it this bug doesn't need solving. I'm keeping the issue open since I believe it's a question of useability, ie I think the Mandatory type = "When shipping" should work as expected.

MarcoL
August 22, 2020, 10:53 AM

triaging marco longo

not workaround it is standard way..not to easy maybe

close ticket

Assignee

Daniel Tamm

Reporter

Daniel Tamm

Labels

Tested By

None

Time tracking

1h

Components

Affects versions

Due date

2014/08/29

Priority

Minor
Configure