LegalEntity

Represents the way an organization is structured. An organization can be a single legal entity or it can comprise more than one legal entity. This object is available in API version 62.0 and later.

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

You need the Accounts Receivables Admin permission set to access this object.

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The name of the company that this legal entity represents.
  • Type: textarea
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Additional details about the legal entity.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: A template that’s used to send emails for the legal entity. This field is available in API version 65.0 and later.

This field is a relationship field.

  • Relationship Name: EmailTemplate
  • Refers To: EmailTemplate
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last accessed a legal entity indirectly, for example, through a list view or related record.
  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed a legal entity. If this value is null, it’s possible that the user only accessed the legal entity or a related list view (LastReferencedDate), but not viewed the legal entity itself.
  • Type: address
  • Properties: Filter, Nillable
  • Description: The address of the company that this legal entity represents. See Address Compound Fields for details on compound address fields.
  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: Required. The name of the legal entity.
  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Required. The ID of the record owner.

This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Refers To: Group, User
  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether to attach the invoice PDF document to the email that’s sent for the legal entity (true) or not (false). This field is available in API version 65.0 and later.

The default value is false.

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The status of the legal entity.

Valid values are Active or Inactive.