Compartir a través de


ProdRoute.getResource Method

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

Syntax

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

Run On

Called

Parameters

  • _getScheduled
    Type: boolean
    A Boolean value that indicates whether to get the scheduled resource for this record.
  • _findFirstApplicable
    Type: boolean
    A Boolean value that indicates whether to get the first applicable resource for this record if no resource has been assigned.
  • _inventSiteId
    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.
  • _findCostingResource
    Type: boolean
    A Boolean value that indicates whether to get the costing resource for this record.
  • _findGroupForMultipleResource
    Type: boolean
    A Boolean value that indicates whether to get the resource group when the quantity of resources required are greater than one.

Return Value

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

See Also

Reference

ProdRoute Table