unless someone finds issues... which is the point ...
# suitescript
s
unless someone finds issues... which is the point of the rcs
r
Should I move this to general? Suiteflow?
c
You havent really defined a specific question..try doing that...
r
I would if I could. All I can see is what's happening on the invoice form. If anyone was working with grouping item lines, they ought to know how NetSuite interprets those lines, or how they're created. I don't know either.
I'm looking for how I can associate each item with its item group so I can mimic the summary grouping that NS is doing in the background.
f
Don't know if this helps - but at a previous company under setup/ accounting / invoicing preferences there was a way to group by item, time, etc.. on invoices. I am unsure of scripting impacts
r
It's not pretty. The item sublist is just printing it out how it looks on the form.
message has been deleted
This is what it's supposed to look like.
k
Is it a standard layout or advanced pdf template
r
The ugly one is standard. The one I'm developing is advanced PDF.
k
I'm confused they both look correct?
r
Basically doing api calls on the sublist works for every other template, but it looks like the item sublist is going to be useless for this particular template/form/department.
The black and white one is correct.
k
Are you just using the normal print button etc? Or have you got a custom button for printing the invoice?
r
Custom print button.
The black and white one is the regular print button.
I need to connect each item to its item group somehow to replicate what netsuite does by default.
k
Seems like something you would have to do within your freemarker template. Using the if group then if items. Or something like that.
c
message has been deleted
👌 1
k
Not seen that before sorry.