PdsBatchAttribByItem::existInGroup Method
Indicates whether an attribute is assigned to an item through an attribute group.
Syntax
client server public static boolean existInGroup(
ItemId _itemId,
PdsBatchAttribRelation _attribRelation,
PdsBatchAttribCode _attribCode)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID of the item to check for the assignment.
- _attribRelation
Type: PdsBatchAttribRelation Extended Data Type
The attribute ID to check for the assignment.
- _attribCode
Type: PdsBatchAttribCode Extended Data Type
The kind of relation for the _attribRelation parameter.
Return Value
Type: boolean
true if the attribute is already assigned to the item through a group; otherwise, false.
Remarks
The check can only return true, if the _attribCode parameter has a value of TableGroupAll::Table . All other kinds of attribute references cannot be assigned to the item through an attribute group.