Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Sending Free Text Invoice through Email AX 2012 R2

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

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Sending Free Text Invoice through Email AX 2012 R2

    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.

  • Anand AX Profile Picture
    Anand AX 2,172 on at
    RE: Sending Free Text Invoice through Email AX 2012 R2

    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.

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: Sending Free Text Invoice through Email AX 2012 R2

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans