Compartir a través de


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.
  • _validFrom
    Type: date
    The date at which the membership is effective.
  • _validTo
    Type: date
    The date at which the membership expires.

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

See Also

Reference

WrkCtrCapabilityResource Table