You need to sign in to do that
Don't have an account?
edel32
Message Edited by edel32 on 07-16-2008 04:22 AM
contains function
Im using the quotes app to add products to an opportunity.
I want to check the product name to see if it contains setup. if it does the contract term must be = 1. iv tried using the contains function but it doesnt work.this is the code im using: if(term!=12 && !CONTAINS(Product2__c, "Annual")) when this is true it pops up with an error saying quote lines cannot be created because of an object error.
any ideas on how to do this
Message Edited by edel32 on 07-16-2008 04:22 AM
In order to do what you want to do here you'll have to write an Apex trigger.