SalesFormLetter_PackingSlip.mcrPrintShippingLabel Method [AX 2012]
Determines whether to print the freight slips.
Syntax
public void mcrPrintShippingLabel(NoYes _toPrint)
Run On
Called
Parameters
- _toPrint
Type: NoYes Enumeration
A NoYes enumeration that determiens whether or not to print the label.
Remarks
Needed ability to turn on printing of freight slips from quality check module if a shipping application does not exist.
Basically is a wrapper that performs some checks and passes information to the printShippingLabel method.
On called, will set options to print shipping labels if the parameter passed is set to print shipping labels, and also provided that the other parameters (in useShippingStatOnPackingSlip() method) are set to allow shipping labels to be printed.