Newer Version Available

This content describes an older version of this product. View Latest

ServiceResourceCostRule

Represents the rules that calculate the value of a meal or equivalent gifts awarded to the field service worker. This object is available in API version 62.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
ApexClassId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The Apex class associated with the service resource cost rule.
This field is a relationship field.
Relationship Name
ApexClass
Refers To
ApexClass
Category
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the category of the service resource cost rule.
Possible values are:
  • Gift
  • Others
  • Union Terms
Description
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The description of the service resource cost rule.
IsActive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the service resource cost rule is active.
The default value is false.
LaborUnionId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The labor union associated with the service resource cost rule.
This field is a relationship field.
Relationship Name
LaborUnion
Refers To
LaborUnion
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the service resource cost rule.
Rule
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The API name of the rule that calculates the supplemental compensation or the time sheet entry item.
Type
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the type of the service resource cost rule.
Possible values are:
  • MealCalculation—Meal Calculations
  • TimesheetValidations—Timesheet Validations