RE: Set Sublist Mandatory
Hi Everybody, I want to make a mandatory field in a purchase order using a script. If the Body Field is selected for Trading PO, then the “sub-product” sublist is Mandatory and if the PO is General, then the “sub-product” sublist is non-mandatory.
why use a script? It can be done easily and efficently with a workflow since you can now access item sublist via workflow. Just use set field mandatory action with the condition you mentioned above. You may also can use the client trigger field to invoke the workflow action