Microsoft
MB6-704 · Question #21
You are developing a solution to get a date as an input to perform an operation. The input will be in a variable named inputDate. You need to validate the date and throw an error if the date entered…
The correct answer is D. Exhibit D. || is logical Or. Works fine here. Not A, Not B, Not C: != is not equal.
Develop X++ code
Question
You are developing a solution to get a date as an input to perform an operation. The input will be in a variable named inputDate. You need to validate the date and throw an error if the date entered is null or greater than the current system date. Which X++ statement should you use? Exhibit A Exhibit B Exhibit C Exhibit D
Exhibits
Options
- AExhibit A
- BExhibit B
- CExhibit C
- DExhibit D
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C14% (3)
- D76% (16)
Explanation
|| is logical Or. Works fine here. Not A, Not B, Not C: != is not equal.
Topics
#date validation#null check#X++ statements#exception throwing
Community Discussion
No community discussion yet for this question.


