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
- _qbdsActivity
Type: QueryBuildDataSource Class
A query for the WrkCtrAcivity records.
- _activityType
Type: WrkCtrActivityType Enumeration
The type of activity for which to limit the query.
- _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.