Populate lines after pressing add

Right now my script populates the fields circled when I select a vendor, can I have it do this same thing after adding the first line? So that after I press add it will populate those same fields in the next line?

https://pastebin.com/mKgS9G7N

Populate lines after pressing add

Rookie Asked on January 22, 2020 in SuiteScript.
Add Comment
1 Answer(s)

I am not sure why you would want to populate data on a line that has no information yet, but yes you can use basically the same code but in validateLine context.

Intermediate Answered on January 22, 2020.

I apologize, those fields do populate when I select a vendor, they just show information I felt I should not show.

on January 22, 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   Limebox   Become a Sponsor