RE: get data from drill down to print in netsuite advanced html pdf
I am new to netsuite and is working on creating a html template for invoice groups. The group has multiple invoices as lines and you can click on them and navigate to the actual invoice which has a lot more data.
I want to print the invoice group details and also show some data that is only available in the actual invoice level.
screenshot of invoices under invoice group
I can access the invoice number in the group like record.invoice_details.invoicenum
but I want to get the data under this invoice which can be accessed like record.item.item_display
if I am in the invoice screen. So I am looking for something like record.invoice_details.invoicenum.item_display
where I start at the invoice group and make my way down to the invoice items.
Any help here is appreciated. Do let me know if you need any more info here.
Thanks in advance
You can display additional information in the UI by customizing the view. For the PDF you have the option of summary or detail, which use the Summary or All Detail views, but do not let you pull standard fields from the invoice, or custom fields from the invoice, only custom fields from the invoice group header. I currently have a ticket open with NS to determine if there is a work around, but if someone has a solution, I would LOVE to hear it.
Thanks. I am looking into suitescripts to get this done but there is no standard solution it seems.