function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sreekanth Kunchala 9Sreekanth Kunchala 9 

How to create below custom field?

if my expense type is (picklist) "office rent"  , then 10% on  the expense field be displayed in another custom field TDA.

using formula as a data type can any one tell me the logic for this?

Thanks in advance

Best Answer chosen by Sreekanth Kunchala 9
Romeo Ngo 1Romeo Ngo 1
 
if ( ISPICKVAL(expenseType__c, "office rent"), Expense__c/10, 0)