Skip to Content
0
Former Member
Aug 19, 2005 at 07:06 AM

Document Printing Automation

30 Views

Dear All,

Has any one any suggestions on this one... we are trying to automate the printing of documents from B1. For example we are importing an xml file to create a delivery and we would like the delivery to be printed immediately, or we want to release production orders and then print the production orders.

At present it doesnt seem possible to automate this via DI or UI api. Theres nothing in the DI from what weve seen that can support this. We also tried to automate the document printing via UI using command 'SBOApplication1.ActivateMenuItem("520")', it will bring up a Printing option dialog box, but we can't manage to simulate the press of 'OK' button on this dialog box, so it can't be automated without user intervention.

Has anyone encountered this type of problem or found a way to solve this problem.

Thanks in advance.

Dave