Data entity
OMDepartmentEntity
Holds departments, which are a kind of operating unit. It is keyed by party number (party ID). It includes name, department number, memo, address and contact details, and the period when the department is effective.
- Entity name
OMDepartmentEntity- Public entity name
Department- OData collection
Departments- Category
Reference- Module
GAB- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
PartyNumber- Staging table
OMDepartmentStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/Departments- Dataverse virtual table
mserp_omdepartmententity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
DirPartyBaseEntity· rootLogisticsPostalAddressBaseEntity· OuterJoin toDirPartyBaseEntityDirPartyMemo· OuterJoin toDirPartyBaseEntity
Fields (52)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PartyTypeRecord type of the party, such as person or organization. | String (13)DirPartyInstanceRelationTypeName | Yes | Yes | None | |
KnownAsAlternative name the party is known by. | String (160)DirPartyName | No | Yes | DirPartyTable.KnownAs | |
LanguagePoints to the language of the party. | String (7)LanguageId | No | Yes | LanguageTable.LanguageId | DirPartyTable.LanguageId |
NameFull name of the party. | String (160)DirPartyName | Yes | Yes | DirPartyTable.Name | |
MemoFree-text note about the party. | String (-1)DirMemo | No | Yes | DirPartyMemo.Memo | |
SearchNameShort search name for finding the party (up to 20 characters). | String (20)NameAlias | No | Yes | DirPartyTable.NameAlias | |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
OrganizationTypeKind of internal organisation: legal entity, operating unit or team. | Enum
| No | Yes | OMInternalOrganization.OrganizationType | |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | No | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
OperatingUnitTypesThe kind of operating unit, for example department, cost centre, value stream or business unit. | Enum
| No | Yes | OMOperatingUnit.OMOperatingUnitType | |
PrimaryAddressCountryRegionIdThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
PrimaryAddressCountryRegionISOCodeISO code of the country or region of the address. | String (2)LogisticsAddressCountryRegionISOCode | No | Yes | None | |
PrimaryAddressCountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
PrimaryAddressCityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
PrimaryAddressDescriptionName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
PrimaryAddressValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
PrimaryAddressValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
PrimaryAddressZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
PrimaryAddressStateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
PrimaryAddressStreetStreet name of the address. | String (250)LogisticsAddressStreet | No | Yes | LogisticsPostalAddress.Street | |
PrimaryContactEmailThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactEmailIsIMYes/no flag that marks the contact as instant message. | EnumLogisticsIsInstantMessage
| No | Yes | LogisticsElectronicAddress.IsInstantMessage | |
PrimaryContactFaxThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactPhoneThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactPhoneExtensionExtension number to add to the phone number. | StringPhoneLocal | No | Yes | LogisticsElectronicAddress.LocatorExtension | |
PrimaryContactPhoneIsMobileYes/no flag that marks the contact as a mobile phone. | EnumLogisticsIsMobilePhone
| No | Yes | LogisticsElectronicAddress.IsMobilePhone | |
PrimaryContactTelexThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactURLThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
AddressLocationRolesText listing the purposes of the postal address. | String (1000)DirPartyAddressLocationRoleNames | No | Yes | DirPartyLocation.PostalAddressRoles | |
PrimaryContactPhonePurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactFaxPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactEmailPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactTelexPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactURLPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactEmailDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactFaxDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactFaxExtensionExtension number to add to the phone number. | StringPhoneLocal | No | Yes | LogisticsElectronicAddress.LocatorExtension | |
PrimaryContactPhoneDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactTelexDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactURLDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactFacebookPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactFacebookIsPrivateYes/no flag that marks the contact as private. | EnumLogisticsIsPrivate
| No | Yes | LogisticsElectronicAddress.IsPrivate | |
PrimaryContactFacebookDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactFacebookThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactTwitterPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactTwitterIsPrivateYes/no flag that marks the contact as private. | EnumLogisticsIsPrivate
| No | Yes | LogisticsElectronicAddress.IsPrivate | |
PrimaryContactTwitterDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactTwitterThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator | |
PrimaryContactLinkedInPurposeText listing the purposes of the contact detail. | String (1000)DirPartyContactLocationRoleNames | No | Yes | LogisticsElectronicAddress.ElectronicAddressRoles | |
PrimaryContactLinkedInIsPrivateYes/no flag that marks the contact as private. | EnumLogisticsIsPrivate
| No | Yes | LogisticsElectronicAddress.IsPrivate | |
PrimaryContactLinkedInDescriptionShort description of the contact detail. | String (60)Description | No | Yes | LogisticsElectronicAddress.Description | |
PrimaryContactLinkedInThe contact number or address itself, such as a phone number or email address. | String (255)LogisticsElectronicAddressLocator | No | Yes | LogisticsElectronicAddress.Locator |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Language→LanguageTable.LanguageId(key of LanguageTable)Relation also requires LanguageTable.LabelFile = 1.
Many DirPartyTable records → zero or one LanguageTable record
LanguageTable details: see ConfirmingPOEntity, MainAccountTranslationEntity, RetailCatalogTranslationEntity
PrimaryAddressCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
PrimaryAddressCounty→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
PrimaryAddressCounty=LogisticsAddressCounty.CountyId,PrimaryAddressCountryRegionId=LogisticsAddressCounty.CountryRegionId,PrimaryAddressState=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
PrimaryAddressState→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
PrimaryAddressState=LogisticsAddressState.StateId,PrimaryAddressCountryRegionId=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with OMDepartmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.