I'm looking to compile a list of all available pick tickets and then consolidate them into a single PDF file. Unfortunately, I am only able to generate one page per ID.
var transactionFile = render.pickingTicket({
entityId: 501,
printMode: render.PrintMode.xml,
location :1423,
inCustLocale: false });
transactionFile.folder = 1423;
var id = transactionFile.save();
}
return {
onRequest: onRequest
};