PL-400 · Question #199
Case Study 3 - Contoso Pharmaceuticals Background Contoso Pharmaceuticals manufactures and sells drugs to retail and wholesale pharmacies, hospitals, and research facilities. The company plans to impl
The correct answer is E. ADDDAYS(10, CreatedOn). The correct answer is E: ADDDAYS(10, CreatedOn). This formula adds 10 days to the CreatedOn date of a record, which is the correct approach for calculating a follow-up or due date that is 10 days after record creation. In Dynamics 365 calculated field formulas, ADDDAYS(n, DateFie
Question
Options
- ADIFFINWEEKS(now,1)
- BSUBTRACTDAYS(10, Now())
- CADDWEEKS(1, CreatedOn)
- DDIFFINDAYS(Createdon, now())
- EADDDAYS(10, CreatedOn)
How the community answered
(36 responses)- A3% (1)
- B14% (5)
- C6% (2)
- D3% (1)
- E75% (27)
Explanation
The correct answer is E: ADDDAYS(10, CreatedOn). This formula adds 10 days to the CreatedOn date of a record, which is the correct approach for calculating a follow-up or due date that is 10 days after record creation. In Dynamics 365 calculated field formulas, ADDDAYS(n, DateField) takes an integer number of days and a date field and returns the resulting date. DIFFINWEEKS (A) computes the difference in weeks between two dates - it returns a number, not a date. SUBTRACTDAYS (B) is not a valid function name in the Dynamics 365 formula syntax. ADDWEEKS (C) adds weeks rather than days and would not produce a 10-day offset. DIFFINDAYS (D) returns the difference in days between two dates - a numeric result, not a new date value. Only ADDDAYS(10, CreatedOn) correctly returns a date that is 10 days after the creation date.
Community Discussion
No community discussion yet for this question.