WrkCtrActivityRequirementSet.applicableResourcesList Method
Gets a list of the IDs of the resources that satisfy all the requirements at any point in the specified date interval.
Syntax
public List applicableResourcesList(
[TransDate _searchFromDate,
TransDate _searchToDate,
InventSiteId _siteId,
boolean _jobSchedRequirements,
boolean _operationSchedRequirements,
boolean _retrieveGroups])
Run On
Called
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: List Class
A list of applicable resources or resource groups.