WrkCtrTable::resourceGroup Method

Finds the resource group which the given resource belongs to.

Syntax

client server public static WrkCtrResourceGroup resourceGroup(
    WrkCtrId _wrkCtrId, 
   [date _fromDate, 
    date _toDate, 
    boolean _forUpdate])

Run On

Called

Parameters

  • _fromDate
    Type: date
    The start date of when the resource belongs to the resource group; optional.
  • _toDate
    Type: date
    The end date of when the resource belongs to the resource group; optional.
  • _forUpdate
    Type: boolean
    A Boolean value that indicates whether to read the record for update; optional.

Return Value

Type: WrkCtrResourceGroup Table
A record in the WrkCtrResourceGroup table; otherwise, an empty record.

See Also

Reference

WrkCtrTable Table