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 :
Microsoft Dynamics AX (Archived)

Sending Free Text Invoice through Email AX 2012 R2

(0) ShareShare
ReportReport
Posted on by 2,172

Dear all,

I am trying to send free text invoice as an PDF attachment in the email using print management. Also configured all email parameters in the print management setup. 

ax-jpg1.jpg

I was not able to send the email. Getting the following error. When i'm debug the code, I found not getting the action id in the following class method (classes --> AifSendService --> getDefaultSendAction)  it seems like, Need to create some outbound services)

Code area for your references 

ax-jpg2.jpg

Can any one please provide me the detailed process steps. 

Below Screenshot for your references

.ax-jpg.jpg

Thanks for the same in advance :-) 

*This post is locked for comments

I have the same question (0)
  • Mea_ Profile Picture
    60,286 on at

    Hi Anand S,

    Send button send XML document via AIF framework to shared folder or MSMQ. To send it via email you need to click view -> Use Print management, because sending via email is just another way of printing.

  • Anand AX Profile Picture
    2,172 on at

    Hi ievgen Miroshnikov ,

    Thanks for the reply. I have configured outbound port for the same, but it is not sending xml document to shared folder. Also the view button, only printing report in the screen, it is not using print management destination. I have seen one more option in the FTI listpage Action pane - Print(button), which is using print management destination and I can send email via that button.

    Can you brief me the use of "send" button,  Is it for integration purpose? Because my client wants to send email by selecting "Original" option from "send" button.  So that I can explain it with proper reason behind "send" button.

  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Yes, send button triggers AIF outbound port to send xml via file adapter or MSMQ it's purely for integration. If you want to send email you need to set up print management as you did and use print management during posting so report will be sent as attachment. Also you can print it with print management from a journal.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans