Skip to content

claper87/tvb450

Repository files navigation

Weekly Quizzes

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

Additional Resources

Quizzlet Platform Developer 1

Hands-On coding challenge

Flow Control and Loops - Exercise

On the account object there is a field called "Start_Date__c" [Date] and "Number_of_Days__c" [Number(3,0)], a new field called "End_Date__c" [Date] must be created, this field shall be automatically populate to add Number_of_Days__c to the value of Start_Date__c, however weekends must be excluded. create a before record-triggered flow that calls an apex method to fulfill de business scenario.

Examples:

  • Start_Date = 01/Feb/2022 and Number_of_Days__c = 10; then End_Date = 14/Feb/2022
  • Start_Date = 01/Feb/2022 and Number_of_Days__c = 01; then End_Date = 01/Feb/2022
  • Start_Date = 01/Feb/2022 and Number_of_Days__c = 0; then End_Date = 01/Feb/2022
  • Start_Date = 01/Feb/2022 and Number_of_Days__c = null; then End_Date = 01/Feb/2022
  • Start_Date = 01/Feb/2022 and Number_of_Days__c = 3; then End_Date = 03/Feb/2022
  • Start_Date = 01/Feb/2022 and Number_of_Days__c = 5; then End_Date = 07/Feb/2022

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors