How to link Advance PDF to print Button via scripts

Dear Community member

Please can anyone help how to link Advance PDF to print Button via scripts?

Best Regards

Rookie Asked on February 11, 2021 in Order Management.
Add Comment
2 Answer(s)

Your options are to add a print button to the form using Form.addButton from a user event script before load entry point or Custom Action on your record’s form.

The pure suitescript option would have you open a new window to a suitelet that writes a file generated via N/render. If you are willing to go through the javascript of netsuite’s print button, you can probably figure out how it generates the url to do its printing and generate that url yourself instead of making your own suitelet. I personally would expect making your own suitelet to to be easier that going through NetSuite’s code.

Intermediate Answered on February 12, 2021.
Add Comment

Hi

 

thanks you very much for your help, I appreciate it a lot if you can share a javascript example

Thanks, Best Regards

 

 

Rookie Answered on February 13, 2021.

You will probably want to start at the linked documentation to get started on the parts that you will need to put together

on February 13, 2021.
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