Hi, in "Posted Shipments" we have an option that is "Print/All" in which, in the user-defined printer, automatically print the packing slip and other related reports. But now we have different warehouses and depending on where you go out the items, we have to print to other printers that are physically in these warehouses Right now, when you click on "Print / All" makes a preview for each document, and you can select the printer manually. I'd like to know how do the following.
The best solution would be that, according to warehouse, it automatically prints to a printer or another (by code, I guess), so the user does not have to choose printer.
If that is not possible, I want to know if it's possible to select the printer once and print all the documents at once.
Thank you very much.
0
Comments
you can make the global variable of record type of printer selection table and set filter's and code to make your desired printer as default for a perticular report.
Navision Technical Consultant & .Net Developer
Thanks in advance.
Thanks in advance.
Thanks in advance.
Thanks.
Don't know what else can be said about this issue.
Thinking about this subject, what would be printed by the printer to another user?, so you can create a dummy user and assign the printer you need in each process.
Thanks in advance.
There is another possibility:
First command should be GetWhseCode
Modify the PrinterSelection.Get with the additional Warehouse Code
Last command should be SetWhseCode('') to reset the Warehouse Code in the SingleInstance CU
You can now configure a Printer per User, Report and Warehouse.
Of course you could also use this system to pass a dummy user (=warehouse code) to the FindPrinter Function. If you do so you can skip the modification to the primary key of the PrinterSelection table.
FD Consulting
Thank your very much for help.