WrkCtrActivityRequirementSet.applicableResourcesCount Method
Gets the count of resources that satisfy all the requirements at any point in the specified date interval.
Syntax
public int applicableResourcesCount(
[TransDate _searchFromDate,
TransDate _searchToDate,
InventSiteId _siteId,
boolean _jobSchedRequirements,
boolean _operationSchedRequirements,
boolean _retrieveGroups])
Run On
ClientOrServer
Parameters
- _searchFromDate
Type: TransDate Extended Data Type
The first date on which to search for resources.
- _searchToDate
Type: TransDate Extended Data Type
The last date on which to search for resources.
- _siteId
Type: InventSiteId Extended Data Type
The ID of the site on which to search for resources.
- _jobSchedRequirements
Type: boolean
A Boolean value that indicates whether the activity requirements that the list is based on is required to have the UsedForJobScheduling value set to true in order to be included as filters.
- _operationSchedRequirements
Type: boolean
A Boolean value that indicates whether the activity requirements that the list is based on are required to have the UsedForOperationScheduling value set to true in order to be included as filters.
- _retrieveGroups
Type: boolean
A Boolean value that indicates whether the resource groups are retrieved.
Return Value
Type: int
The count of applicable resources.