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.

Set Sublist Mandatory

Set Sublist Mandatory

Rookie Asked on April 7, 2022 in SuiteScript.
Add Comment
1 Answer(s)

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

Advanced Answered on April 13, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor