Preview or Print from the defined work order position
Parameter: DocEntry,[LineNumber ,print,printername,setprintFlag]
DocEntry = work order number
LineNumber = work order position, if not defined, then all work order position
print = emtpy/not defined=view, print=print to printer
printername = name of the printer
setprintFlag = true=set work order and work order position as printed
Example: Preview with BeasSccript for a work order with all positions
Note: The system open a single view for every work order position.
beasFunction=PrintWorkorder=600344
Print with Boyum Usability Package
beasFunction(PrintWorkorder|600344|10|print);
Print on Printer HS-30421 with BUP
beasFunction(PrintWorkorder|600344|10|print|HS-30421);
Print and set work order as printed
beasFunction(PrintWorkorder|600344|10|print|HS-30421|true);