Q
You are developing a feature that requires a status field with predefined values to track the progress of an order in Microsoft Dynamics 365 finance and operations apps.
You need to ensure that the status field can only contain specific values and that these values can be extended in the future.
What should you do?
Question Info
Choose the Best Option
Click any option to instantly check if you're correct.
Explanation
The correct answer is to add an enumeration to the project with the required status elements (Option B), as enumerations are designed to hold a set of named constants which can be extended. Creating a new EDT with a string type (Option A) would not enforce the use of specific values and would require additional validation logic. Using an existing integer EDT (Option C) is not user-friendly and does not provide clear meaning for the statuses. Adding a new relation (Option D) does not address the requirement of having specific values for the status field.
Extension points for frameworks - Training | Microsoft Learn
X++ extended data types - Finance & Operations | Dynamics 365 | Microsoft Learn
Want to remember what you got wrong?
Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.
- Save your progress & streak
- Topic-wise quizzes & scores
- Bookmark tricky questions
- Printable MCQ sets
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.