Table

UserExternalParty

External relations

Links a system user to an external party in a company. The key is legal entity, user, external party and relation type. The relation type can be customer, vendor, prospect, prospective vendor or worker.

Table name
UserExternalParty
Module
Global address book
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
UserExternalPartyIdx
Key fields
LegalEntity, User, ExternalParty, ExternalEntityType
Model
Directory

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LegalEntityPoints to the legal entity (company) of the relation.Int64
LegalEntity
YesCompanyInfo.RecIdNone
UserID of the system user.String
UserId
YesNone
ExternalPartyPoints to the party in the global address book.Int64
DirPartyRecId
YesDirPartyTable.RecIdNone
ExternalEntityTypeType of relation: customer, vendor, prospect, prospective vendor or worker.Enum
UserExternalPartyEntityType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

Each relation joins UserExternalParty to another table on the fields shown.

  • CompanyInfo → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many UserExternalParty records → exactly one CompanyInfo record

  • DirPartyTable → DirPartyTable

    Join on ExternalParty = DirPartyTable.RecId

    Many UserExternalParty records → exactly one DirPartyTable record

  • UserInfo → UserInfo

    Join on User = UserInfo.id

    Many UserExternalParty records → exactly one UserInfo record

Get this data out

No public entity reads from UserExternalParty. Its data is only reachable through the application, a custom entity or a database export.

Need help with UserExternalParty in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk