InternalOrganizationUnit

Represents an organization that an Employee belongs to. This object is available in API version 48.0 and later. In API version 49.0 and later, this object supports reports, criteria-based sharing rules, and history tracking, plus you can exclude individual fields from custom page layouts.

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

To access this object, you have either a Workplace Command Center permission set license and the Provides access to Workplace Command Center features system permission, or the Employee Management and Employee User add-on licenses. This object is also available with the Referral Marketing license.

FieldTypePropertiesDescription
DescriptionstringCreate, Filter, Group, Nillable, Sort, UpdateA description of the organization the Employee is working in.
LastReferencedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed a record related to this record.
LastViewedDatedateTimeFilter, Nillable, SortThe timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
OrganizationCodestringCreate, Filter, Group, idLookup, Sort, UpdateRequired. The code of the organization the Employee is working in.
OrganizationNamestringCreate, Filter, Group, Nillable, Sort, UpdateThe name of the organization the Employee is working in.
OwnerIdreferenceCreate, Defaulted on create, Filter, Group, Sort, UpdateThe ID of the user who currently owns this record. Default value is the user logged in to the API to perform the create operation.
ParentOrganizationIdreferenceCreate, Filter, Group, Nillable, Sort, UpdateA reference to the parent organization.
TypepicklistCreate, Filter, Group, Nillable, Restricted picklist, Sort, UpdateSpecifies whether the record is for an internal or an external organization. This field is available in API version 60.0 and later. Possible values are:
  • EXTERNAL_BUSINESS_UNIT
  • INTERNAL_ORGANIZATION

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

InternalOrganizationUnitHistory (API version 49.0)

History is available for tracked fields of the object.

InternalOrganizationUnitOwnerSharingRule

Sharing rules are available for the object.

InternalOrganizationUnitShare (API version 49.0)

Sharing is available for the object.