Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds a capability that corresponds to a task group and if the WrkCtrId is not connected to that capability then a copy of the capability is created and the resource is attached to it.
Syntax
server public static RefRecId findOrCreateCapabilityForResource(DEL_TaskGroupId _taskGroupId, WrkCtrId _wrkCtrId)
Run On
Server
Parameters
- _taskGroupId
Type: DEL_TaskGroupId Extended Data Type
The ID of an existing task group.
- _wrkCtrId
Type: WrkCtrId Extended Data Type
The ID of the resource to search for.
Return Value
Type: RefRecId Extended Data Type
The record ID of the found or created capability.