Professional Documents
Culture Documents
Object-name: Account
Created by pepeti ravi
Functions used:
Error message
Account amount should not be blank and isnumber only
AND(
NOT(ISBLANK(AccountNumber)),
NOT(ISNUMBER(AccountNumber))
)
1) Account number is should be 8 not less than 8
LEN( AccountNumber) != 8
2) Validates that a custom date field contains a date within the current year
YEAR( My_Date__c ) <> YEAR ( TODAY() )
AND (
OR (
ISPICKVAL(StageName, "Closed Won"),
ISPICKVAL(StageName, "Negotiation/Review")),
ISBLANK(Delivery_Date__c)
)
6) Validates that the Phone number begins with a plus sign (+) for country code. Note
that this validation rule conflicts with the ten-digit rule
LEFT(Phone, 1) <> "+"
IsConverted
&&
OR(
ISBLANK (Phone),
ISBLANK (Email),
ISPICKVAL (Rating, “”)
)
CASE(CurrencyIsoCode,
"USD", 1,
"EUR", 1,
"GBP", 1,
"JPY", 1,
0) = 0
9) Close_Date_Alert