i have a form having two fields and one button. wh...
# suitescript
v
i have a form having two fields and one button. when i click a button, it should trigger a map/reduce script. in that Map/Reduce script, on the getInputData functio, i should get those two fields values. how can do that? could anyone please help?
b
use the N/task module in combination with Script Parameters
v
I dont get this. could you please give me some example?
b
you will have to go through the example of the N/task module and tell me whats lacking in them
v
ok
r
A common design pattern is User Event -> Client (added to the form) -> SuiteLet -> Map Reduce. I'll show you, hang on.
ue_js.js
cl_ss2_0_js.cpp
sl_js.js
mr_js.js