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, ...
Unanswered

Running MorphX Report for a Specific SalesID and Emailing the Results in AX 2012

(4) ShareShare
ReportReport
Posted on by 86

Hello everyone,

 

I am receiving a Sales Order number (SalesID) from my inbound service in Dynamics AX 2012, and I am updating a field in the SalesTable.

 

I would like to run the SalesOrderLetter MorphX (classic) report, (non SSRS Report) using this SalesID as a parameter, and then email the report results.

 

I know how to send emails using SysMailer, but I am not sure how to programmatically run a normal (non-SSRS) report for a specific SalesID and generate the output so that it can be attached to an email.

 

Has anyone implemented something similar in AX 2012? Any guidance or code examples would be greatly appreciated.

 

Thank you!

Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    MorphX reports have been deprecated and shouldn't be used. They're there just to allow you upgrading reports when upgrading your implementation from older versions to AX 2012. Why do you think that using the MorhpX report is a good idea?
  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at
    I do not have a old MorphX Axapta environment. You can search using keywords axapta and you should be able to find results on google.
     
  • HY-12030737-0 Profile Picture
    86 on at

    Thank you, Martin and Sohaib.

     

    Yes, I am aware that MorphX reports are now old and deprecated. In my scenario, however, I only have the classic SalesOrderLetter MorphX report, and I need to use it. My goal is to programmatically run this report for a given SalesID and generate the output (PDF or Word) so that it can be sent via email.

     

    If you or the community have experience with this, or if you have any similar approaches, sharing example code or guidance would be very helpful.

  • Sohaib Cheema Profile Picture
    49,677 Super User 2026 Season 1 on at
     
    Anything I would share on this thread, will be non-tested as I do not have a MorphX environment.
     
    I can see a few old blogposts. Do you want to take a look please.
     
     

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans