Skip to main content
Drew Elston (Optimizely) 님이 #Sales And Marketing에 질문했습니다

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일 오후 2: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