Share via


WrkCtrActivityRequirementSet::limitActivityQueryOnResource Method

Limits an activity query to only include records for which the given resource or group is applicable.

Syntax

server public static WrkCtrActivityFilterId limitActivityQueryOnResource(
    QueryBuildDataSource _qbdsActivity, 
    WrkCtrActivityType _activityType, 
    WrkCtrTable _wrkCtrTable)

Run On

Server

Parameters

  • _wrkCtrTable
    Type: WrkCtrTable Table
    The resource or resource group for which the activity is filtered on.

Return Value

Type: WrkCtrActivityFilterId Extended Data Type
A handle to the filter table records that are being used.

Remarks

After this method is used the WrkCtrActivityResourceFilter::deleteFilterId static method must be called to reset the filter.

See Also

Reference

WrkCtrActivityRequirementSet Table