Can a set a mandatory body field in a Sales Order transaction based on an item selection in sublist?
I have seen the workflow “set mandatory field” option, but when I look through the conditions for the trigger, I cannot find how to set it based on the item selection.
For example, I want to make a personalized date field mandatory, If the item selected for sale is a specific service item.
For this I would create a Sublist Action Group set to Items, then create a Return User Error action using the criteria of Item = specific service item. It would throw a warning with whatever text you want – something like “You must populate [enter field name here] before saving.” It is not technically the same as the set mandatory field action, but should achieve the same result of restricting save when not populated. Of course you would want it to trigger as a Before Record Submit to actually prevent the save… hope this helps!