Newer Version Available

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

Employment

Represents the details of an individual's employment with an organization. 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()

Special Access Rules

This object is available if Talent Recruitment Management is enabled in your org. To access the object, you need one of these permission sets.

User Type Permission Set
Internal Users Talent Recruitment Management Specialist Access
Salesforce Platform Users

Talent Recruitment Management Hiring Manager Access

OR

Talent Recruitment Management Employee Access

Fields

Field Details
Description
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The description of the employment.
EffectiveFromDate
Type
date
Properties
Create, Filter, Group, Sort, Update
Description
The date when the employment is effective.
EffectiveToDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date when the employment is no longer effective.
Employee2Id
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the employee2 record associated with the employment.
This field is a relationship field.
Relationship Name
Employee2
Refers To
Employee2
EmployeeUserId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the employee's user record.
This field is a relationship field.
Relationship Name
EmployeeUser
Refers To
User
EmploymentType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The type of the employment.
Picklist values for this field aren't predefined. Before you create a record, ensure that your Salesforce admin has defined picklist values according to your organization’s requirements.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the employment.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the record owner.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
ScheduleType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The type of work schedule associated with the employment. For example, part-time or full-time.
Picklist values for this field aren't predefined. Before you create a record, ensure that your Salesforce admin has defined picklist values according to your organization’s requirements.
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The status of the employment.
Picklist values for this field aren't predefined. Before you create a record, ensure that your Salesforce admin has defined picklist values according to your organization’s requirements.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

EmploymentFeed
Feed tracking is available for the object.
EmploymentHistory
History is available for tracked fields of the object.
EmploymentOwnerSharingRule
Sharing rules are available for the object.
EmploymentShare
Sharing is available for the object.