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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Deprecated function for printing shipping labels (ZPL)

(0) ShareShare
ReportReport
Posted on by 133
Good morning,
 
For a while now we've been using the WhsDocumentRouting::printLabelToPrinter function to print shipping labels (that we get from an external source) in ZPL format to our label printers. Now after a Dynamics update this year, I saw the warning 'printLabelToPrinter' is obsolete: ''WhsLabelPrintCommand was introduced to replace the plain string ZPL label. Callers should begin using printLabelPrintCommandToPrinter instead'' in my build.
 
So I tried to change my code to use this new function. However, it appears this printLabelCommandToPrinter function is marked as internal, so I cannot call this from my own model. Am I missing something here? How am I supposed to replace this obsolete function with an internal function?
I have the same question (0)

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans