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)

Print Management: New document type does not fully work

(0) ShareShare
ReportReport
Posted on by

Hello there, 

So I added new document type as described here and here. The procedure seems to be quite simple and consists of 3 basic steps:

  1. Add new element to DocumentStatus base enum
  2. Add new element to SalesPrintDocumentStatus base enum
  3. Duplicate the last if statement in SalesPrintCopies.initDocuments() method and adjust it to match newly created base enum element 

After all this is done, one will be able to create new print destinations for the chosen document type in the Order print management form like so: 

Clipboard01.jpg

The problem that I'm having (which not used to be the case before, apparently) is that the record created in SalesPrintSetup table has DocumentStatus field empty: 

Clipboard02.jpg

If I post-populate it with the value I need, then print destination is not being shown in Order print management form. 

It works for all other document types, even newly created ones a while ago. Just no new doc. types seem to work neither for purchases nor for sales. 

What am I missing here? 

Thank you, guys! 

Kind regards,
Donatas

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    The issue was messed up enums that got wrong ids assigned by AX. So, for example, if id assigned to enum value is 15 in front-end, in form queries it comes up as 255. 

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#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