> I'm working on an Advanced PDF template for a...
# general
s
I'm working on an Advanced PDF template for an Invoice and trying to iterate over the "charges" driving the items. In this documentation (https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/SBADVTemplates_3058901257.html) I can successfully iterate the items, and this brings back something like this:
chargetype: Expense-Based
charges: 3
description: Travel expenses - Flights/Accommodation
grossamt: $438.26
item: EXP - Travel - Professional Services
itemtype: Expense
itemsubtype:
licensecode:
linenumber:
options:
printitems: F
quantity: 3
rate: $132.80666667
The issue is that I don't want these charges grouped into a single item and want to access the actual employee/memo/cost of each charge.
Furthermore, I have set the options on the Form as such:
Can anyone think of any way to break the item apart into separate charges?
m
Do you have a screenshot of the charges section as in the example?
s
@Michael McNamara
m
Where did you get the Charges subtab?
Is that custom?
s
charge based billing
m
So in this case from the example, you want the PDF form to show four lines for each charge?
What is your code in the PDF?
k
@Sean Richards - if you have Invoice Presentation Template SuiteApp you can set it up there