Hi Goodmorning. Is it possible to use nlapiLoadRec...
# suitescript
d
Hi Goodmorning. Is it possible to use nlapiLoadRecord in freemarker / adv pdf without using userevent?
t
we can not use nlapiLoadRecord in adv pdf.. Do you want to access any field from other record?
d
Yes. Is it possible? Without using userevent script?
d
Saw there wasn't a response, as I was catching up on chat. If it's not available by default from the record being fed into the Advanced PDF, there's no easy way to get the information. The two easiest options: • User Event, on Print. Fetch the information and feed it into Advanced PDF. • User Event, on Save. Copy the information into a Custom field on the Record. Access the Custom field from Advanced PDF.
d
I saw in bfo documentation that you can run javascript code, so i'm trying my luck here. Anyways, thanks for the input.