WrkCtrActivityRequirementSet.firstApplicableResource Method
Gets the first of the resources that at some point in the given date interval satisfies all the requirements.
Syntax
public WrkCtrTable firstApplicableResource(
[TransDate _searchFromDate,
TransDate _searchToDate,
InventSiteId _siteId])
Run On
Called
Parameters
- _searchFromDate
Type: TransDate Extended Data Type
The first date to search for resources on.
- _searchToDate
Type: TransDate Extended Data Type
The last date to search for resources on.
- _siteId
Type: InventSiteId Extended Data Type
The ID of the site to search for resources on. If blank the search is not limited to resources on a specific site.
Return Value
Type: WrkCtrTable Table
A WrkCtrTable record that satisfies the requirements.