could you try this and see if it changes anything?...
# suitescript
e
could you try this and see if it changes anything?
Copy code
for (var i = 0; i < standardLinesCount; i++) {
                    standardLinesArr.push(standardLines.getLine({
                        index: i
                    }));
                }
👀 1
✅ 1
🙌 1
a
doing this actually made it work. I guess the
const
was messing with it since I tried replacing const with var then pushing it to the array also gave the correct result.