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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LegalEntityPoints to the legal entity (company) of the relation. | Int64LegalEntity | Yes | CompanyInfo.RecId | None |
UserID of the system user. | StringUserId | Yes | None | |
ExternalPartyPoints to the party in the global address book. | Int64DirPartyRecId | Yes | DirPartyTable.RecId | None |
ExternalEntityTypeType of relation: customer, vendor, prospect, prospective vendor or worker. | EnumUserExternalPartyEntityType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
UserExternalPartyIdxReplacement keyLegalEntity,User,ExternalParty,ExternalEntityTypeUnique, alternate key.
UserIdxUser,ExternalParty,ExternalEntityTypeNot unique.
Relations (3)
Each relation joins UserExternalParty to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany UserExternalParty records → exactly one CompanyInfo record
DirPartyTable→DirPartyTableJoin on
ExternalParty = DirPartyTable.RecIdMany UserExternalParty records → exactly one DirPartyTable record
UserInfo→UserInfoJoin on
User = UserInfo.idMany 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.