how can i load my record for advanced pdf ? like d...
# suitescript
r
how can i load my record for advanced pdf ? like do i have set EVERY value manually through JSON? or it can just pick id i provide the internal id..and it sets just the way when i click print on sales order it takes everything from the record, is there a way to directly take it? i am creating a sublist including items that are ready to be picked .. and on click i want a PDF to generated.. i am sending t the data through JSON and setting every line.. i want like doc no, date, picked status, from the record.. i can set it through JSON by sending stuff.. i suppose there is a efficient way to achieve this? or any other way?
n
You can access the field values and item sublist values directly in the Adv Print without resorting to replicating it all in fields using JSON.
r
okay, dont i have to provide anything to adv print?
internal id ?
i dont understand how will it know what record to take the advanced pdf on?
n
The print template is associated with the record. It sounds like you have a fair bit of studying to do around how forms / print templates work.
k
This is one way to achieve as per your concern
@razer456 there are so many ways you can achieve generating PDF
r
i want to print the picking ticket in relation to the sales order is that not possible?