Salesforce Administration

How to write formula for Picklist values & currency fields types in Salesforce custom objects

  • Salesforce Administration, custom formula
Example #1 = To decide the target incoice date
Field name: “Invoice_Date__c” is the day when invoice generated
“Day_Till_Due_Date__c” is a picklist (Value are like 7, 14,21,28,60 etc..)
Invoice_Date__c + Value(Text(Day_Till_Due_Date__c ))
TimeSheet calculations:
No of Hours + Overtime hours (weekend & bank holidays) + Overtime hours (weekdays)
e.g Picklist values are – 0,1,2,3,4,5,6,7,8
HourlyRate__c * (NoOfHours__c +
((Value(Text(OT_W_Bhol__c))) * 2 +
((Value(Text(OTWeekDays__c))) *1.5)))

Leave a comment