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
Amit Singh.ax1042Amit Singh.ax1042 

how to use formula field for due date field


I Have Created an object as Job,in this object following are the fields,
start date (data type is date)
completion date (data type is date)
no. of dayas (data type is number)
now i want to use a field as due date...
and
due date = start date + number of days excluding sat / sun...
how can i use this???


SrikanthKuruvaSrikanthKuruva

you cannot do thisusing the formula field. you have to go for Before Update apex trigger for doing this logic

Amit Singh.ax1042Amit Singh.ax1042

Could you please give me any example with trigger???