web
You’re offline. This is a read only version of the page.
close
Skip to main content
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

(0) ShareShare
ReportReport
Posted on by 70

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
    236,968 Most Valuable Professional on at
    Running MorphX Report for a Specific SalesID and Emailing the Results in AX 2012
    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,133 User Group Leader on at
    Running MorphX Report for a Specific SalesID and Emailing the Results in AX 2012
    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
    70 on at
    Running MorphX Report for a Specific SalesID and Emailing the Results in AX 2012

    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,133 User Group Leader on at
    Running MorphX Report for a Specific SalesID and Emailing the Results in AX 2012
     
    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 542

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans