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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Electronic Reporting - Sales order confirmation is printing all the records instead of only one record

(0) ShareShare
ReportReport
Posted on by 125

Hello,

I configured sales order confirmation report in Electronic Reporting. I use the SalesConfirmDetailsTmp table as my data source. The report is working fine on one of the company we have but when I used it on the other company it's printing different sales order number and all the items in sales orders are showing instead of the items only belong to the specific sales order number.

Thank you in advance.

pastedimage1626510777097v1.png

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Mark,

    Did you create / modify this report yourself?

    How did you define and map what you want to see as the output of this report?

    Would be great if you could provide more information.

    Many thanks,

    Ludwig

  • Mark Loren Manuel Profile Picture
    125 on at

    Hi Ludwig,

    Thank you for your reply. I created the report and map it to SalesConfirmDetailsTmp table. Please see below screenshots. Is there any filter or parameters I need to add in order to bind it to the sales order confirmation report?

    Model : 

    pastedimage1626522189486v2.png

    Table Records : 

    pastedimage1626522258726v3.png

    Model Mapping:

    pastedimage1626522295611v4.png

    Please note that this configuration is working in one of the company.

    Thank you,

    Mark Loren Manuel

  • Arcadi  Profile Picture
    794 on at

    Hi Mark,

    I'm interested in seeing how you solve this, what I used to do is to use an object in ER, that returns a Sales Order ID when printing (I think it ends with "DP") and then just filtering the table by this ID. But I think asking for the Query has more sense. Have you tried using the header instead of the lines?

  • Mark Loren Manuel Profile Picture
    125 on at

    Hi Arcadi,

    Not yet. My only confusion is the report is working fine on one of the company entity, the only problem is when I applied it to other company entity. Let me try use the header and try the configuration you are using.

    Thank you.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Mark,

    What filter is applied that ensures that this report is only printed for the sales order you are on?

    Please check the other standard MS reports and how they add a specific filter that prints only those data of your active record.

    Best regards,

    Ludwig

  • Mark Loren Manuel Profile Picture
    125 on at

    Hi Ludwig,

    There is no filter applied. I just add the SalesConfirmDetailsTmp table records and map it on the data model I created. Can you please provide me example on what data I need to add on the filter in order to get the correct information on the sales order confirmation screen.

    Thank you

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Mark,

    You can have a look - for example on the following reports where you see such kind of filters applied:

    - Purchase order (Excel)

    - ISO20022 payment models where you can have a look at how the covering letter details are filtered out and identified

    There are more available but these are the first ones I found.

    Can be a bit tricky if you have not applied that before but ultimately you will make it after having a look at those standard reports.

    Best regards,

    Ludwig

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

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
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans