print external file in line with Nav report

jversusj
Member Posts: 489
hello!
as usual, i searched the forum for this and did not see an answer to my particular question.
using the forum, i have been able to successfully call an external PDF file and print it from NAV without user interface. Now, the user request here is as such:
When pick ticket is printed, the system needs to look out at a customer requirements directory and look for a PDF for that customer and print this PDF directly after the pick ticket prints. The PDF includes special instructions for customer compliance (skid dimensions, plastic wrap color, labelling, etc.) The PDF is a standardized form.
i added a dataitem at the end of our modified Picking list report. this data item includes the automation control that uses Shell to print the file. in instances where a single pick ticket is created and printed, this works fine. the pick ticket prints, immediately followed by the PDF.
here is where i run into trouble - our warehouse spools all orders that need to ship on a given day to a shipment, and then create (and print) all picks from that shipment in what amounts to a batch process. They click Create Pick on the Warehouse Shipment and the system rolls through and creates/prints all the viable picks. When they print, i am finding that all the NAV pick tickets print, followed by all the Customer Requirement documents (so someone would have to manually pair up pick with requirements sheet). i suppose this makes sense - windows is receiving print commands from two applications, it would make sense that 1 finished before the other starts.
can anyone think of a solution to this (that does not involve building the customer requirements system application entirely in NAV)? i want to have the pick ticket print, followed by its PDF, followed by the next pick ticket and PDF, and so on. can this be done?
thank you!
as usual, i searched the forum for this and did not see an answer to my particular question.
using the forum, i have been able to successfully call an external PDF file and print it from NAV without user interface. Now, the user request here is as such:
When pick ticket is printed, the system needs to look out at a customer requirements directory and look for a PDF for that customer and print this PDF directly after the pick ticket prints. The PDF includes special instructions for customer compliance (skid dimensions, plastic wrap color, labelling, etc.) The PDF is a standardized form.
i added a dataitem at the end of our modified Picking list report. this data item includes the automation control that uses Shell to print the file. in instances where a single pick ticket is created and printed, this works fine. the pick ticket prints, immediately followed by the PDF.
here is where i run into trouble - our warehouse spools all orders that need to ship on a given day to a shipment, and then create (and print) all picks from that shipment in what amounts to a batch process. They click Create Pick on the Warehouse Shipment and the system rolls through and creates/prints all the viable picks. When they print, i am finding that all the NAV pick tickets print, followed by all the Customer Requirement documents (so someone would have to manually pair up pick with requirements sheet). i suppose this makes sense - windows is receiving print commands from two applications, it would make sense that 1 finished before the other starts.
can anyone think of a solution to this (that does not involve building the customer requirements system application entirely in NAV)? i want to have the pick ticket print, followed by its PDF, followed by the next pick ticket and PDF, and so on. can this be done?
thank you!
kind of fell into this...
0
Comments
-
Kind of clugy, and I think there has to be a better way, but you could print the Pick Tickets to PDF and store them in a folder. Using BullZip PDF or another PDF printer with built in automation. Then alternate printing the Pick Ticket from PDF then the Customer Document from PDF. This would assure that they all go to the printer in the correct order...I think.
Maybe even some built in automation to Print to PDF and then append the customer document to the end of the Pick Ticket. Delete the PDF Pick Tickets when you're done.
Just thinking out loud.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions