<@U5TNEF7FW> sorry for the stupid n00b question, b...
# suitescript
d
@karlenigma sorry for the stupid n00b question, but where in NetSuite would I find the outputs for log.audit and log.debug on a M/R?
n
Go to the MR script record, and check the "Execution Log" tab 🙂
👍 1
By the way the M/R scripts don't log 100% like other script types, depending on what stage you log in etc, it's a good idea to read a little bit on that topic as well 🙂
d
well my issue seems to be in the map stage
k
log.debug will be fine in there.
👍 1
but it will log every line of data that is in the getInputData stage that gets passed through.
d
Thats the other part of my problem... I am trying to determine if my full result set really gets passed through to map
It doesn't appear that the script is actually doing anything even though all stages show as completing without error
k
can you show your code?
d
mro_mapred_priceupdaet.js
Its still a work in progress
n
@karlenigma can correct me if I'm wrong but right now you're just sending the search object to the map stage, not actual results, might be why it's not working?
k
From what i can tell there is nothing wrong with the getInputData stage
Just running through the code now.
n
Ah my bad then didn't know you could just send the search object as data to map()
k
yeah done that loads.
👍 1
r
@Nikola Gavric if you pass the search object, netsuite will execute the search and return each result either in the map or reduce stage
n
@rustyshackles I should've read the documentation better 😄.. that's nice!