hi, as far as I remember, there was a way to bring...
# suitescript
s
hi, as far as I remember, there was a way to bring data to Advanced PDF Template using beforeLoad function. However, I can't remember or it is not possible. Does anybody know a way to prevent creation of custom fields just for printing?
n
you just add a custom field to the record on the before load and pick it up on the AdvPrint.
🤯 1
s
hmm, it works only if you're printing on the UI I suppose. but I'll give it a try
thanks
it works for server side scripting too. that's exactly what I needed.
👍 1