SQL Object
 
Syntax
 
SQL.CreatePaklijstDocument WerkOrder[, Repair][, ModeCredit][, Bewerken]
 
Description
Runs the application to print packing slips using work order and template data, optionally a Repair can also be performed, where a new packing slip is printed out, without affecting slip numbers or other settings.
 
Parameter
Description
WerkOrder
Reference to the work order number whose packing list(s) are to be printed.
Attention: if a specific packing list is to be processed (for Repair), enter the packing list number here as a negative number, for example: -239983.
Repair
Optional, default value FALSE. If TRUE, a packing list document is recreated.
ModeCredit
Optional, default value FALSE. If TRUE, -if available- a credit template is applied for return receipts.
Bewerken
Optional, default FALSE. If TRUE, the packing slip is not printed, but can be edited from the embedded text editor.
See Also
 
Example
Sub Main()
 
    SQL.CreatePaklijstDocument 3456, Bewerken:=True
 
End Sub