You need to sign in to do that
Don't have an account?
Revenue Schedule Trigger
Hi, I'm new to apex. I was wondering if there is way to use an apex trigger to change the way Salesforce amortizes revenue. For example, if an opportunity product revenue is entered for $6800 for a 12 month period, it will automatically allocate $566.00 for each month, and load the remainder in the 12th month. However, what I would prefer is that its broken down evenly with decimals as $566.66 for the first 11 months, and the final month gets the extra change ($566.74).
Would this be possible to achieve with an apex trigger? Any assistance on this matter is greatly appreciated.
Yes ... You can do this in Apex Code. Here is somthing that is similar.
All Answers
Yes ... You can do this in Apex Code. Here is somthing that is similar.
Thank you @Pat McQueen - this code is super helpful! Do you know if there is any way to have a tirgger that will automatically re-establish a revenue schedule? For example, if the Close Date changes than the number of installments may have to change?