PrintMgmtSetupDocInstance::constructFromRec Method [AX 2012]

Creates a document by using values from the persisted state.

client server public static PrintMgmtSetupDocInstance constructFromRec(
    PrintMgmtSetupDoc _parent, 
    RefRecId _recId, 
    LanguageId _langId)

Run On

Called

Parameters

_parent
Type: PrintMgmtSetupDoc Class
The parent document of the specified document instance.
_recId
Type: RefRecId Extended Data Type
The record ID of the PrintMgmtDocInstance record from which to initialize the object.
_langId
Type: LanguageId Extended Data Type
The language ID for the specified document instance.

Return Value

Type: PrintMgmtSetupDocInstance Class
A specified document instance.

ExceptionCondition
Error

The specified record ID does not exist.

Show: