Netsuite Tragic
10/28/2025, 10:03 AMCeligo AI
10/28/2025, 10:04 AMAI generated answer (using internal Slack threads):To fetch the data of the sales rep quota from the quota record list in SuiteScript, you can use the
N/query module. However, it seems that the Quota record might not be directly exposed for SuiteScript based on the conversations.
If you're looking to set up two different quotas for all sales reps, one using revenue, and another using gross profit, you can use Alternate Sales Amounts (ASA). You can set the ASA using script. In the Records Browser under Sales Order, there's an 'altSalesTotal' field. This is the field you can utilize to make changes to the ASA. The ASA will now work with the Quota, Forecast, and Commissions module as intended.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/28/2025, 10:04 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836639464
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.793304443
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.785339355
Celigo AI
10/28/2025, 10:04 AM