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?
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.