OBJECT

CustomEntitySharingSalesUnitRelationEntity

Sharing of a custom entity record with a sales unit, as a watcher or an editor.

link GraphQL Schema definition

  • type CustomEntitySharingSalesUnitRelationEntity {
  • # True when the record is protected against deletion because it must always exist
  • # in the space. Deleting a record that is not protected can still fail on other
  • # checks. Read-only.
  • isDeleteProtected: Boolean!
  • # Unique identifier of entity.
  • id: ID!
  • # Specifies if the entity is considered deleted.
  • isDeleted: Boolean
  • # Last modification time.
  • modified: DateTime
  • # Creation time.
  • created: DateTime
  • # Custom entity record being shared.
  • customEntity: CustomEntityEntity
  • # Sales unit the custom entity record is shared with.
  • unit: SalesUnitEntity
  • # Id of the shared custom entity record.
  • customEntityId: ID!
  • # Access the sharing gives the sales unit on the custom entity record: Watcher can
  • # view it, Editor can view and edit it.
  • role: SharingRoleEnum
  • # Id of the sales unit.
  • unitId: ID!
  • # Revision when entity was lastly changed.
  • revision: Int
  • # Permissions the current user has on this record, out of the requested ones.
  • #
  • # Arguments
  • # permissions: Permissions to check; the result lists those the
  • # current user has.
  • instancePermissions(permissions: [EntityPermsEnum!]!): [EntityPermsEnum!]!
  • }