https://netsuiteprofessionals.com logo
Title
m

Martin

06/26/2020, 4:39 PM
Hello guys, I'm trying to read next item line inside of a list, but I'm getting a error with the '[]' at the template
<#assign nextitem = record.item[item?index + 1] >
Any Idea?
r

Ricardo

06/29/2020, 3:22 PM
Not that I know this, but what happens when there's no next item? Do you check to see if one exists before running this? If you don't you're gonna have an error because it'll point to a null.