nerdexam
Microsoft

MB-500 · Question #91

Drag and Drop Question A company uses Dynamics 365 Finance. Client companies require weekly updates for services performed. You create data entity by using the Data Entity wizard. You need to expose…

The correct answer is Configure properties for the data entity.; Build the solution.; Synchronize the database. Dynamics 365 Finance - Data Entity Exposure Workflow Context After using the Data Entity Wizard to create a data entity, the wizard generates the entity but leaves it in an incomplete, unconfigured state. Before external systems can consume it, you must finalize configuration…

Implement data and application integration

Question

Drag and Drop Question A company uses Dynamics 365 Finance. Client companies require weekly updates for services performed. You create data entity by using the Data Entity wizard. You need to expose a list of services to external business companies. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibit

MB-500 question #91 exhibit

Answer Area

Drag items

Map the data entity to the data view.Configure properties for the data entity.Synchronize the database.Build the solution.

Correct arrangement

  • Configure properties for the data entity.
  • Build the solution.
  • Synchronize the database.

Explanation

Dynamics 365 Finance - Data Entity Exposure Workflow

Context

After using the Data Entity Wizard to create a data entity, the wizard generates the entity but leaves it in an incomplete, unconfigured state. Before external systems can consume it, you must finalize configuration, compile the code, and align the database schema.


Why This Order?

Step 1: Configure properties for the data entity

The wizard creates a skeleton - you must manually set properties like the entity name, label, public name (used in OData/API exposure), access level, and which fields are visible/required. This must come first because the subsequent build compiles whatever configuration exists at that moment. Configuring after building means your build reflects stale or default settings and you'd need to rebuild anyway.

Common mistake: Assuming the wizard fully configures the entity for you. It does not - it scaffolds it.


Step 2: Build the solution

Building compiles the X++ code, validates the entity's metadata, and registers it within the AOT (Application Object Tree). External exposure (OData endpoints, DIXF, etc.) is based on compiled artifacts. You cannot synchronize a database against code that hasn't been compiled - the sync reads from compiled metadata to determine what schema changes are needed.

Common mistake: Trying to synchronize before building. This fails or produces incomplete results because the compiled definition doesn't yet reflect your configuration changes.


Step 3: Synchronize the database

Database sync pushes the compiled entity's schema changes to the SQL database - creating or updating backing views and tables. Only after sync is the entity truly "live" and accessible to external consumers (e.g., via OData for integration).

Common mistake: Thinking the build alone is sufficient. Build compiles code; sync is what makes it queryable against real data.


Why "Map the data entity to the data view" is excluded

This is a distractor. The Data Entity Wizard automatically handles the view mapping as part of the entity creation process. Manually mapping it afterward is not a required post-wizard step, making it incorrect for this scenario.


Summary Table

StepActionWhy
1Configure propertiesDefines what gets compiled - must precede build
2Build the solutionCompiles config into deployable artifacts - must precede sync
3Synchronize the databaseApplies compiled schema to DB, enabling live access

Topics

#data entity#Data Entity wizard#external integration#database synchronization

Community Discussion

No community discussion yet for this question.

Full MB-500 Practice