Skip to main content

Hi SF Community,

I am running into a problem when calculating the Total Contract with custom Opportunity Fields. See Below:

 

Contract Term (Months) with Custom Fields

 

In this example,  how we price currently is # of month * PEPM 1.50 * Total Lives Opportunities. However in this example the Partner Services and Support & Plan Design of 5K each only count for the first 12 months, rather than the full length 24 Contract. Does anyone have any suggestions on how to format these equations where Total Contract amount will account # of months with custom fields? 

Thanks!

 

-Drew
4 个回答
  1. 2017年6月6日 14:43
    Drew, ceiling function rounds up the figures. So it basically says, if you contract for 13 months, you still pay 24 months. 

     

    If your organisation is okay with pro-rating, the below formula will work fine.

     

     

    ((PEPM__c * Total_Lives_Opportunity__c ) * Contract_Term_of_Yrs__c) + Plan_Design__c + ((Contract_Term_of_Yrs__c / 12) * Partner_Services_and_Support__c)

     

    Let me know if it works.

     

    Cheers,

     

    CS
0/9000