title: How to make set sublist mandatory?
body: <p>I want to make a mandatory field in a purchase order using a script. If the Body Field is selected for Trade PO, then the &quot;sub-product&quot; sublist is Mandatory and if the PO is General, then the &quot;sub-product&quot; sublist is non-mandatory.
  How to make the script?</p>