PrintMgmtSetupDoc.getInstanceByPos Method [AX 2012]

Gets a document instance by its position.

public PrintMgmtSetupDocInstance getInstanceByPos(int _docInstanceIdx)

Run On

Called

Parameters

_docInstanceIdx
Type: int
The index of the document instance to retrieve.

Return Value

Type: PrintMgmtSetupDocInstance Class
The instance requested, if it exists; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

The index is one based. The valid range of indices is 1 to PrintMgmtSetupDoc.numInstances.

Community Additions

ADD
Show: