How to get sublist in suitelet based body field?

How to get sublist values in suitelet based body field(list/record)?

Rookie Asked on September 19, 2019 in SuiteScript.

You are going to need to be a lot more details in this question. Sublist fields and body fields have different scripting mechanisms.

on September 19, 2019.
Add Comment
1 Answer(s)

Not sure I fully understand, but sounds like you need a client script attached to your suitelet via form.clientScriptModulePath (within N/ui/serverWidget).

That client script should utilize the fieldChanged function to identify when the Customer field is changed.

Then based on a selection, you’ll need to it set the sublist value (using the sublist id and fields ids you have in the suitelet) for the project based on sourcing data from the Customer selected.

Beginner Answered on October 1, 2019.

Hai but client script should be deployed? or applied to which record?

 

on December 23, 2020.
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   Become a Sponsor   Become a Sponsor