I want a custom button on the invoice to print a c...
# advancedpdf
r
I want a custom button on the invoice to print a certain form. SA 46084 solution didn't work.
a
I did this recently to produce an alternate Sales Order PDF form via button click
UE script to add the button / specify the client script path
CE script to generate and open the suitelet url
suitelet to render and print the template
r
Did you use SuiteAnswers 46084?
a
I think I looked at it yeah but had to alter it slightly, and I used SuiteScript 2.0.
r
Oh wise one, can you share your knowledge? Or is it copyrighted?
a
I mean it's basically what I just said
each script is fairly small and if you're familiar with how to do those things in suitescript, you'll be able to reproduce it easily
r
The NS folks updated 46084 and now I was able to get it to work.
👍 1