ReleaseUpdateDB60_Prod::findOrCreateCapabilityForResource Method [AX 2012]

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.

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.
Show: