Title / Description
Code IF(SBQQ__NonDiscountable__c, (Partner_Role_Discount_Base__c*100), IF(ISBLANK(SBQQ__Quote__r.SBQQ__CustomerDiscount__c), (IF(NOT(ISBLANK(SBQQ__Discount__c)), ((Partner_Role_Discount_Base__c + SBQQ__Discount__c)*100), IF(NOT(ISBLANK(SBQQ__AdditionalDiscountAmount__c)), ((Partner_Role_Discount_Base__c + (SBQQ__AdditionalDiscountAmount__c / SBQQ__ListPrice__c))*100), (Partner_Role_Discount_Base__c*100) ) )), (IF(ISBLANK(SBQQ__Discount__c), (IF(ISBLANK(SBQQ__AdditionalDiscountAmount__c), ((Partner_Role_Discount_Base__c + SBQQ__Quote__r.SBQQ__CustomerDiscount__c)*100), ((Partner_Role_Discount_Base__c + (SBQQ__AdditionalDiscountAmount__c / SBQQ__ListPrice__c))*100) )), ((Partner_Role_Discount_Base__c + SBQQ__Discount__c)*100) )) ) ) IF(SBQQ__NonDiscountable__c, (SBQQ__ListPrice__c * (1 - Partner_Role_Discount_Base__c)), IF(ISBLANK(SBQQ__Quote__r.SBQQ__CustomerDiscount__c), (IF(NOT(ISBLANK(SBQQ__Discount__c)), (SBQQ__ListPrice__c * (1 - (Partner_Role_Discount_Base__c + SBQQ__Discount__c))), IF(NOT(ISBLANK(SBQQ__AdditionalDiscountAmount__c)), (((1 - Partner_Role_Discount_Base__c) * SBQQ__ListPrice__c) - SBQQ__AdditionalDiscountAmount__c), (SBQQ__ListPrice__c * (1 - Partner_Role_Discount_Base__c))))), (IF(ISBLANK(SBQQ__Discount__c), (IF(ISBLANK(SBQQ__AdditionalDiscountAmount__c), (SBQQ__ListPrice__c * (1 - (Partner_Role_Discount_Base__c + SBQQ__Quote__r.SBQQ__CustomerDiscount__c))), (((1 - Partner_Role_Discount_Base__c) * SBQQ__ListPrice__c) - SBQQ__AdditionalDiscountAmount__c))), (SBQQ__ListPrice__c * (1 - (Partner_Role_Discount_Base__c + SBQQ__Discount__c))))) ) )
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code