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)

Document routing sequence numbers

(0) ShareShare
ReportReport
Posted on by 135

So I'm adding a new label for our company to use called the "Wholesale Inbound Label", but I am not sure where to place it in the document routing hierarchy.  I do not understand exactly how sequence numbers or queries work when determining which printer settings to use.  You would think that you would just specify exactly which route to use in the x++ code, but apparently not.  I tried to find documentation for it, but I only found a brief mentioning of both from https://docs.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/configure-print-settings-for-labels.  But this isn't enough info for me.  I need to know what the logic flow is when deciding which route to take.  For example, in the picture below, does the code just go down the list starting from the top, and the first route that has all of the parameters necessary to print the label is the one that is chosen?  What happens when multiple routes have the same sequence number, like in the picture below?  I'm lost on this and do not want to risk putting the label too high in the hierarchy so that it "intercepts" things that should have printed on other labels.  Any help is appreciated.

document-routing.PNG

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Guy Terry Profile Picture
    28,924 Moderator on at

    Hi AXGreenHorn,

    AX creates a record in the License plate labels form and then will search for a Document routing which matches values on that record. After matching the Work order type, it searches from the lowest sequence number first, and through the others in sequence, until it finds one Document routing that matches. It will always have to match Warehouse Id, and any of the other fields that you specify (in the screenshot, Work template code and From zone id). If Run query is ticked, it will also check that the License plate label matches anything set in the Edit query option. It will use the first Document routing it finds, ignoring any with a higher sequence number, even if there is more than one match.

  • Fatehdeep Singh Profile Picture
    5 on at

    Hi Guy terry,

    We can have multiple layouts printing through a single document routing right? i.e. by adding as many layouts as required in document routing printers tab. Thank you!

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans