GeneralKenobi
06/19/2024, 3:01 AMfor (var k = 0; k < systemData.length; k++) {
Object.entries(systemData[k]).forEach(([key, val]) => {
log.debug(key,val);
});
}
I get an the following error message when i run this code in my script “TypeError: Cannot read property ‘entries’ of undefined”. I am using SuiteScript 2.1
The issue is that when i run this same piece of code using the NetSuite debugger, it runs with no issue and al values are populatedraghav
06/19/2024, 7:37 AMGeneralKenobi
06/19/2024, 1:25 PMClay Roper
06/19/2024, 2:13 PMGeneralKenobi
06/19/2024, 2:20 PMGeneralKenobi
06/19/2024, 8:55 PM