SalesPurchReport_RU::newFromPrintMgmtDocType Method [AX 2012]

Creates a SalesPurchReport_RU object, based on print management parameters.

server protected static SalesPurchReport_RU newFromPrintMgmtDocType(
    PrintMgmtDocumentType _printMgmtDocType, 
    RecId _recordId, 
    Args _args)

Run On

Server

Parameters

_printMgmtDocType
Type: PrintMgmtDocumentType Enumeration
A PrintMgmtDocumentType value that determines the report to print.
_recordId
Type: RecId Extended Data Type
The record ID of the journal to print.
_args
Type: Args Class
An Args object that holds caller data.

Return Value

Type: SalesPurchReport_RU Class
A SalesPurchReport_RU object.

ExceptionCondition
Error

No journal record is specified.

Show: