WrkCtrActivityRequirementSet.firstApplicableResourceGroup Method
Gets the first resource group that satisfies all the requirements at any point in a specified date interval.
Syntax
public WrkCtrResourceGroup firstApplicableResourceGroup(
[TransDate _searchFromDate,
TransDate _searchToDate,
InventSiteId _siteId])
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.
Return Value
Type: WrkCtrResourceGroup Table
The first WrkCtrResourceGroup record that satisfies the requirements.