SalesFormLetter_FreeText.parmForceToFile Method [AX 2012]

Gets or sets a value which indicates whether the print destination should be forced from the screen to a PDF file.

public boolean parmForceToFile([boolean _forceToFile])

Run On

Called

Parameters

_forceToFile
Type: boolean
A boolean value that indicates whether the print destination should be forced from the screen to a PDF file; optional.

Return Value

Type: boolean
A boolean value that indicates whether the print destination should be forced from the screen to a PDF file.

This method should only be called for special scenarios where it is possible to print many Free Text Invoices to the the screen.

Doing so can freeze the client and this provides the ability to redirect output to PDF files. The FreeTextInvoiceControllerclass calls this to handle the scenario when printing Free Text Invoices in bulk from the list page.

Show: