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

Notifications

Announcements

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

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.

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 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
    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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 732 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 413 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 289 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans