on dialog.confirm, how do i get it to save record ...
# suitescript
m
on dialog.confirm, how do i get it to save record on OK button?
s
What entry point is calling the dialog?
m
if(objField == false)
s
That's not an entry point, thats a condition. I'm asking saveRecord, fieldChanged, etc
m
saveRecord yes
s
How are you calling the dialog.confirm? Did you check the help pages for how you should handle the success/failure conditions of the button clicks?
m
doesnt show any information that is why i am stuck
in my function
s
Did you look at help pages about how to handle the success/failure callback?
m
i have success function done, but it is not saving the record on OK
it returns true when clicked OK, but nothing happening
b
there is no suitescript function to save the record
you have to do a dom manipulation that does the equivalent of clicking the save button
which is usually either directly calling the onClick handler, or selecting the button and clicking it
m
pain in the ass - can i do this faster in 1.0?
nvm i just need more functions
sigh
b
the easy ugly way is to use confirm