Newer Version Available

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

JobPositionAssignment

Represents the assignment of a person to a specific JobPositionShift on a specific day. This object is available in API version 64.0 and later.

Supported Calls

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

Special Access Rules

This object is available only if the VolunteerManagementPsl permission set license is enabled and the Manage Volunteer Data permission is assigned to users.

Fields

Field Details
ActualDuration
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The time difference in hours between the actual start time and actual end time.
ActualEndTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time the position assignment actually ended.
ActualStartTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time the position assignment actually started.
AssignedAccountId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The lookup to the account record for the position assignment.
This field is a relationship field.
Relationship Name
AssignedAccount
Refers To
Account
AssignedContactId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The lookup to the contact record for the position assignment.
This field is a relationship field.
Relationship Name
AssignedContact
Refers To
Contact
AssignedPositionShiftId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The lookup to the job position shift record for the position assignment.
This field is a relationship field.
Relationship Name
AssignedPositionShift
Refers To
JobPositionShift
DoesCountTowardShiftCapacity
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Determines whether the job position assignment is part of the total capacity of the job position shift.
The default value is false.
This field is available from API version 65.0 and later.
JobPositionId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The lookup to the related job position.
This field is a relationship field.
Relationship Name
JobPosition
Refers To
JobPosition
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
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the job position assignment.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the owner of this object. ID of the creator of this object.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
RelatedVolunteerInitiativeId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The lookup to the primary volunteer initiative for the position assignment.
This field is a relationship field.
Relationship Name
RelatedVolunteerInitiative
Refers To
VolunteerInitiative
ScheduledEndTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time the position assignment is scheduled to end.
ScheduledStartTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time the position assignment is scheduled to start.
Status
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
The status of the position assignment.
Possible values are:
  • Absent
  • Awaiting Approval
  • Canceled
  • Complete
  • In Progress
  • Pending Verification
  • Upcoming

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 JopPositionAssignment.

JobPositionAssignmentChangeEvent
Change events are available for the object.
JobPositionAssignmentFeed
Feed tracking is available for the object.
JobPositionAssignmentHistory
History is available for tracked fields of the object.
JobPositionAssignmentOwnerSharingRule
Sharing rules are available for the object.
JobPositionAssignmentShare
Sharing is available for the object.