You need to sign in to do that
Don't have an account?
Tony Montana 6
I have the following use case
I have the following use case
If a Picklist Field 'Business unit' is 'eBay Plus' then a field 'Accounting' should be set to “Contra Transaction Revenue”. If the picklist 'Business unit' is “Top SKU” then a Field Accounting should be set to “Marketing”
I have resolved above using standard criteria in Process builder but having issues with below as I am trying to use a formula.
If any other Business unit is other than 'eBay Plus Or Top SKU is selected,
And If Any of the 3 picklist fields below
Has_buyer_committed_to_the_seller__c
Incentivizing_Selling_Activity__c
Seller_Co_funding__c
is Set to 'YES', then the Field Accounting is set to 'Contra Transaction Revenue'.
I have the following but does not seem to work
AND(
OR(
ISPICKVAL([eForm__c].Business_Unit__c <> 'eBay Plus'),
ISPICKVAL([eForm__c].Business_Unit__c <> 'Top SKU'),
)
OR(
ISPICKVAL([eForm__c].Has_eBay_committed_to_the_seller__c = 'Yes'),
ISPICKVAL([eForm__c].Incentivizing_Selling_Activity__c = 'Yes'),
ISPICKVAL([eForm__c].Seller_Co_funding__c = Yes)
)
)
getting Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 3
Would appreciate your help.
Thanks,
TM
If a Picklist Field 'Business unit' is 'eBay Plus' then a field 'Accounting' should be set to “Contra Transaction Revenue”. If the picklist 'Business unit' is “Top SKU” then a Field Accounting should be set to “Marketing”
I have resolved above using standard criteria in Process builder but having issues with below as I am trying to use a formula.
If any other Business unit is other than 'eBay Plus Or Top SKU is selected,
And If Any of the 3 picklist fields below
Has_buyer_committed_to_the_seller__c
Incentivizing_Selling_Activity__c
Seller_Co_funding__c
is Set to 'YES', then the Field Accounting is set to 'Contra Transaction Revenue'.
I have the following but does not seem to work
AND(
OR(
ISPICKVAL([eForm__c].Business_Unit__c <> 'eBay Plus'),
ISPICKVAL([eForm__c].Business_Unit__c <> 'Top SKU'),
)
OR(
ISPICKVAL([eForm__c].Has_eBay_committed_to_the_seller__c = 'Yes'),
ISPICKVAL([eForm__c].Incentivizing_Selling_Activity__c = 'Yes'),
ISPICKVAL([eForm__c].Seller_Co_funding__c = Yes)
)
)
getting Error: Incorrect number of parameters for function 'ISPICKVAL()'. Expected 2, received 3
Would appreciate your help.
Thanks,
TM
There seems few error
Check this how to use picklist in formula:
https://trailhead.salesforce.com/content/learn/modules/advanced_formulas/picklist_formulas
After first Or condition end you have to give Comma, value will always enclosed in quotation marks
Thanks!
Please write the formula like below:
Your ISPICKVAL syntax is not correct so you are getting this kind of error.
I don't know why you put the OR cond in first check it should be AND.
Thanks,
Maharajan.C
Thanks,
Maharajan.C