PrintMgmtSetupDocInstance.deepCopy Method [AX 2012]

Creates a new copy of the document instance and all its members.

public PrintMgmtSetupDocInstance deepCopy(
    PrintMgmtSetupDoc _newParent, 
   [PrintMgmtSetupName _name, 
    PrintMgmtDocInstanceType _type])

Run On

Called

Parameters

_newParent
Type: PrintMgmtSetupDoc Class
The new parent document for the document instance.
_name
Type: PrintMgmtSetupName Extended Data Type
The new name for the document instance. By default, the name will be the same as the name of the current document instance; optional.
_type
Type: PrintMgmtDocInstanceType Enumeration
The document instance type, which is represented by a PrintMgmtDocInstanceType enumeration value.
The type uses the same value as the current document instance; optional.

Return Value

Type: PrintMgmtSetupDocInstance Class
The new document instance.

New persisted states for all settings and their associated identification text are created and loaded into new objects.

Community Additions

ADD
Show: