Discussions
Invoke sales rules from SuiteScript?
Is it possible to invoke sales rules for a record prior to submitting it?
Basically, I plan to gather some address information on a custom suitelet form and provide a button which should invoke the sales rules for a lead to determine the potential sales rep (via existing sales rules/territories).
I want to be able to do that without submitting the lead, hence my ask to be able to programmatically run the sales rules for a newly created (but not yet saved) lead record.