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

How to set the Electronic report validation conditions?

(0) ShareShare
ReportReport
Posted on by 2

Hello,

we have a custom Electronic report for Transfer orders.

We have a filter on a certain price fields, based on the parameter.

When the filter does not match to the selected transfer order the error messages are displayed:

"An error occurred during the 'Format mapping' run. For more information, contact your system administrator."

"Property 'FileName' of the format component 'Transfer' is evaluated."

"Evaluating expression for path 'model/List/Records/2 PostingDate'.List is empty at 'model/List'"

I tried to define the validation condition as "ISEMPTY(model.List)" and Post-Validation action to "Continue execution (write a remark)". 

When I run the ER the message that I defined is shown, but I still see those 3 error lines.

What I want to achieve is to have just my message displayed when the report is empty.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    Hi DAX_dev ,

    Here is similar discussion.

    community.dynamics.com/.../business-document-management---purchase-order-excel-running-error

    If you try to run the report from report configuration form you will get this error because report expects parameter. However this shouldn't be happening when you run it from transfer order screen. The standard purchase order confirmation report throws the similar error when you run it from configuration form.

  • DAX Dev Profile Picture
    2 on at

    Hi Sukrut,

    I find out the reason.

    The reason of this error messages is that the FileName is constructed with PostingDate. So when we run the ER, which is based on some price parameters, and if the filter is not matched the PostingDate is empty and that's why why we get the errors.

    I tried to construct the FileName with IF() statement:

    IF(model.List.Records.'2 PostingDate' <> NULLDATE(), DATEFORMAT(model.List.Records.'2 PostingDate', "yyyyMMdd") & "_Manual","FileNameTest")

    When I click the Test button everything works fine, but not during the actual process

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 239 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 221

#3
Subra Profile Picture

Subra 166 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans