WrkCtrCapabilityResource::addCapabilityResource Method
Assigns a capability to a resource.
Syntax
client server public static void addCapabilityResource(
WrkCtrTable _wrkCtrTable,
WrkCtrCapabilityRefRecId _capability,
date _validFrom,
date _validTo,
WrkCtrCapabilityPriority _priority,
WrkCtrCapabilityLevel _level)
Run On
Called
Parameters
- _wrkCtrTable
Type: WrkCtrTable Table
The resource record of the resource for which to create a membership.
- _capability
Type: WrkCtrCapabilityRefRecId Extended Data Type
The capability to which the resource should be added.
- _validFrom
Type: date
The date at which the membership is effective.
- _validTo
Type: date
The date at which the membership expires.
- _priority
Type: WrkCtrCapabilityPriority Extended Data Type
The priority for the capability assignment.
- _level
Type: WrkCtrCapabilityLevel Extended Data Type
The level at which the resource can perform the capability.
Remarks
If the capability is already assigned to the resource with partially overlapping dates then the date interval of the existing record might be extended