web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Enumeration type fields in Electronic Reporting

(2) ShareShare
ReportReport
Posted on by 46

Hello all.

I'am making a report in Electronic Reporting feature in D365FO and I'm having some issues with enum type fields on model mapping. In the data source  I created two fields, one as enum type field and other as a boolean type field. In the data model I put the same options that this fields has on D365FO. In the model mapping I wrote the formula for to put logic in the fields. The problem is at the moment to valid the model mapping for to change its status for "Concluded". The D365FO show me the error message below:

"Can not convert expression of type Enum to field of type Enum"

I can't understand because the field and the formula expression are of the same type.

Here is my data model

pastedimage1641235090189v1.png

Here is my enumeration type data source on model mapping

pastedimage1641235319440v2.png

And heret is he formula that I used to bind the data model to the data source.

pastedimage1641235455744v3.png

Below the error message give by D365FO when I try to validate the model mapping.

pastedimage1641235551090v4.png

I'am having this problem with two fields. The other one is a boolean type field as can see at the image above. But even I changing the type of field in the data model to enum I receive the same error message just saying that the expression type is enum and not boolean.

I have the same question (0)
  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,869 Super User 2026 Season 1 on at

    Hi Eric,

    Have you defined these Enum on your mapping model under as 'Enumeration ' data source properties?

    Example:

    pastedimage1641244026064v2.png

    pastedimage1641243978185v1.png

    I am wondering if you have created the formula correctly. Does FiscalDocumentLine.Type enum?

    pastedimage1641244534531v4.png

  • Eric_Santos Profile Picture
    46 on at

    Hi Alireza.

    Yes It's done. I can't to understand where is the problem here.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans