When we create Leads using a RESTlet, the salesrep...
# suitescript
j
When we create Leads using a RESTlet, the salesrep field always seems to be set to the user that the script runs under and does not honor the defined Sales Rules/Territories. Has anyone else run into this problem?
Based on an answer in SuiteAnswers we were able to set the salesrep to -202 to trigger the sales territory assignment