Skip to main content
Hi,

 

My current Quote Line Item Validation Rule is to not allow discounts on products that have a custom field of "No Discount" checked.

 

The rule looks is currently:

 

AND  (  Product2.No_Discount__c = TRUE,  Discount >0 )

 

What I'd like to do is extend this rule to respect the Account Type.

 

Something like 

 

AND  (  Product2.No_Discount__c = TRUE,  Discount >0, Account.Type <> "Reseller" )

 

When I click the [Check Syntax] button, I get "Error: Field Account does not exist. Check spelling."

 

How can I extend my Quote Line Item Validation Rule to check the Account Type value?

 

Thanks in advance
2 respuestas
  1. 26 nov 2013, 22:26
    Hey Phil,

     

    Try adding this to your rule:

     

    AND  (  Product2.No_Discount__c = TRUE,  Discount >0,NOT(ISPICKVAL(Quote.Opportunity.Account.Type, "Reseller")))

     

    That should do it if I am using the proper path.

     

    Give it a shot and let us know!

     

    Best of luck!
0/9000