To Add Days To Last Day Of trandate

You can use the below formula in a workflow after the field change of the trandate to add days to the last day of the trandate. (new Date((new Date(new Date({trandate}).getFullYear(),new Date({trandate}).getMonth()+1 ,0)).getFullYear(),(new Date(new Date({trandate}).getFullYear(),new Date({trandate}).getMonth()+1 ,0)).getMonth() ,(new Date(new Date({trandate}).getFullYear(),new Date({trandate}).getMonth()+1 ,0)).getDate()+30)).toLocaleDateString()

Set The Last Date Of Trandate

You can use the below formula to set the last date of trandate in the workflow triggering after a field change of trandate (new Date(new Date({trandate}).getFullYear(),new Date({trandate}).getMonth()+1 ,0)).toLocaleDateString()

Search formula to find the latest date among the three dates

Scenario: If we need to find the latest date/the recent date among the three dates in a saved search, use the following formula in the search criteria. Formula(Date): CASE WHEN ({custrecord_project_first_expiry_date}>=NVL({custrecord_project_second_expiry_date},{custrecord_project_first_expiry_date})) THEN (CASE WHEN ({custrecord_project_first_expiry_date}>=NVL({custrecord_project_third_expiry_date},{custrecord_project_first_expiry_date})) THEN {custrecord_project_first_expiry_date} ELSE {custrecord_project_third_expiry_date} END) ELSE (CASE WHEN ({custrecord_project_second_expiry_date}>= NVL({custrecord_project_third_expiry_date},{custrecord_project_second_expiry_date})) THEN {custrecord_project_second_expiry_date} ELSE {custrecord_project_third_expiry_date}END )END

Excel Functions

COUNTBLANK The COUNTBLANK function returns a count of empty cells in a range. Cells that contain text, numbers, errors, spaces, etc. are not counted. Formulas that return empty text are counted. COUNTBLANK takes just one argument, range, which must be a cell range. SUMIF The Excel SUMIF function returns the sum of cells that meet… Continue reading Excel Functions

Common SQL Expressions For Saved Search

Character Functions Function Syntax Description CONCAT CONCAT(char1, char2) returns char1 concatenated with char2 LOWER LOWER(char) returns char, with all letters lowercase UPPER UPPER returns char, with all letters uppercase LTRIM LTRIM(char [, set ]) removes from the left end of char all of the characters contained inset RTRIM RTRIM(char [, set ]) removes from the… Continue reading Common SQL Expressions For Saved Search