Has anyone found a way to restrict certain items o...
# general
t
Has anyone found a way to restrict certain items on a sales order based on shipping country on a sales order using a workflow?
m
Why don't you use a saved search as filter on the form?
t
I'm trying to do it before the sales order is created
it's a compliance issue where people try to use shipping methods or try to ship to a country that is non-compliant with certain items (lithium batteries). maybe i can just not allow the item to be added, but it would complicate a few things. hm i think a warning after it's created would be safest way to go about it
m
I think you need to create a saved search on items. Criteria would be Transaction Fields ... > Shipping Country any of cuz. Then another criterion is Internal I'd any of 123 and so on. Then customise the SO form under Sublist Fields select the saved search. If it didn't work, you need to control it with scripts
t
okay. I'll mess with it more. I couldn't get it to work when swapping shipping addresses, but maybe it's just finicky