Share via


RouteOpr.getResource Method

Retrieves the resource that has been scheduled or assigned as the requirement for the current record.

Syntax

public WrkCtrTable getResource(
   [boolean _findFirstApplicable, 
    TransDate _searchFromDate, 
    TransDate _searchToDate, 
    InventSiteId _inventSiteId, 
    boolean _findCostingResource])

Run On

Called

Parameters

  • _findFirstApplicable
    Type: boolean
    A Boolean value that indicates whether to get the first applicable resource for this record if no resource has been assigned and no costing resource is found.
  • _findCostingResource
    Type: boolean
    A Boolean value that indicates whether to get the costing resource for this record.

Return Value

Type: WrkCtrTable Table
A WrkCtrTable record that satisfies the search criteria.

See Also

Reference

RouteOpr Table