Dynamics AX 2012 – WMS Micro improvements # 5 : Auto printing of Bill of Lading

I was woring on a small PDA screen for send a shipment in Dynamics AX 2012. Normally this is done from the shipment screen as follows:

The people at the warehouse wanted a smaller and easier screen to work with, and one that fits a PDA screen, like Motorola MC75. So I decided to create a PDA program for that. It looks like this:

When the operator scans the shipment ID, the user will see the shipment status, name, and number of staged and loaded pallets. In addition we wanted the ability to very easily print the bill of lading and the packing slip when the shipment is sent. So that the operator just could fetch the paper documents from a nearby printer. I decided that using the print management setup would be great, and I could use the same printer as setup for packingslips

So I needed to find a way to print out these documents without any printer dialog. Through MSDN I found all I needed, but I wanted to share this with you. I have created a small job in X++ that illustrates the code I used to automatically print out the bill of lading:

Have fun and happy DAXing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.