ReleaseUpdateDB60_Cat.findNonExistName Method [AX 2012]
Finds the first String that does not match the value of a specified field in an existing record in the specified table.
Syntax
private Name findNonExistName(
TableId _tableId,
FieldId _fieldId,
str _namePrefix,
[str _nameMiddle])
Run On
Server
Parameters
- _tableId
Type: TableId Extended Data Type
The ID of the table to search.
- _fieldId
Type: FieldId Extended Data Type
The ID of the field in the table to search.
- _namePrefix
Type: str
The prefix of the matching Strings to search.
- _nameMiddle
Type: str
The middle of the matching Strings to search.
Return Value
Type: Name Extended Data Type
A String that is guaranteed not to match the value of the specified field of any existing record in the specified table.
Remarks
Non-upgrade script.