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

Need listing of print management email addresses

(0) ShareShare
ReportReport
Posted on by 45

In Dynamics AX 2009 our invoices are emailed to customers using print management.  Our billing department would like a list of email addresses that they have entered.  I fond a table named printmgmtdocinstance that seems to be of significance.  I found that it relates to the specific customer in CustTable (77) using a field named referencedrecid but I have not found the print management email address that I need in order to list it.    

*This post is locked for comments

I have the same question (0)
  • Sili Li Profile Picture
    10 on at

    Hi,

    I need the same list of print management email addresses of all nodes in AX2009.  I also need to do print management email addresses updates in X++.  Do you have any suggestions ?

    Thanks

  • Sili Li Profile Picture
    10 on at

    Problem solved:

    while select accountNum, name from custTable

       {

           while select DocumentType from printMgmtDocInstance

             join PrintJobSettings from printMgmtSettings

             where custTable.RecId == printMgmtDocInstance.ReferencedRecId

                && printMgmtDocInstance.RecId == printMgmtSettings.ParentId

           {

               printJobSettings = new PrintJobSettings(printMgmtSettings.PrintJobSettings);

               mailTo = printJobSettings.mailTo();

               mailCc = printJobSettings.mailCc();

           }

       }

    }

  • Tristan Chisci Profile Picture
    80 on at

    Hello ! 

    Many thanks that works for me.

    I needed to list every customer with ASCII format in format type for the email :

    static void CUSTOMERINVOICEASCII(Args _args)
    {
    CustTable   CustTable;
    printMgmtDocInstance    printMgmtDocInstance;
    PrintJobSettings    PrintJobSettings;
    PrintMgmtSettings   PrintMgmtSettings;
    PrintFormat         format;
    
    
    while select accountNum, name from custTable
       {
           while select DocumentType from printMgmtDocInstance
             join PrintJobSettings from printMgmtSettings
             where custTable.RecId == printMgmtDocInstance.ReferencedRecId
                && printMgmtDocInstance.RecId == printMgmtSettings.ParentId
           {
               printJobSettings = new PrintJobSettings(printMgmtSettings.PrintJobSettings);
    
               if ( printJobSettings.format() == PrintFormat::ASCII)
               {
                    info(strfmt('%1',custTable.AccountNum));
               }
           }
       }
    }
    


  • ScorpioDax Profile Picture
    333 on at

    Do you know how to get this done in AX 2012?

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

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans