PrintMgmtSetupDocInstance::nextName Method [AX 2012]

Generates an available name based on a prefix and sequence number.

server public static PrintMgmtSetupName nextName(PrintMgmtSetupDoc _parent, PrintMgmtSetupName _namePrefix)

Run On

Server

Parameters

_parent
Type: PrintMgmtSetupDoc Class
The document whose collection the name will be unique within.
_namePrefix
Type: PrintMgmtSetupName Extended Data Type
The prefix on which to base the name.

Return Value

Type: PrintMgmtSetupName Extended Data Type
A unique name for a document instance.

The sequence number appended to the name is based on the largest sequence number found plus one.

Show: