I'm not 100% sure if this requires scripting, so I...
# general
z
I'm not 100% sure if this requires scripting, so I'm putting this in general for now. I'm a developer at a company and they need two different quotas for all sales reps, one using revenue, and another using gross profit. I dug into Suite Answers and found an article explaining that this could be possible using Alternate Sales Amounts (ASA). I have setup ASA and understand I have to modify something to get Gross Profit. How exactly do I do this? SA Article 9674 explains that this can be done with custom code. But what am I changing? How should the script be deployed? I have already looked through the dev articles for SuiteScript 1.0 and have not found anything related to ASA yet. Am I going on the right path for this?
Okay I figured this out myself. There was an Alt. Sales field that was disabled on all of our custom transaction forms, it simply needed to be re-enabled using Customize, it was a sublist line field. I can also set the ASA using script, if you look in the Records Browser under Sales Order you will see 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.