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 · root
  • LogisticsPostalAddressBaseEntity · OuterJoin to DirPartyBaseEntity
  • DirPartyMemo · OuterJoin to DirPartyBaseEntity

Fields (52)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PartyTypeRecord type of the party, such as person or organization.String (13)
DirPartyInstanceRelationTypeName
YesYesNone
KnownAsAlternative name the party is known by.String (160)
DirPartyName
NoYesDirPartyTable.KnownAs
LanguagePoints to the language of the party.String (7)
LanguageId
NoYesLanguageTable.LanguageIdDirPartyTable.LanguageId
NameFull name of the party.String (160)
DirPartyName
YesYesDirPartyTable.Name
MemoFree-text note about the party.String (-1)
DirMemo
NoYesDirPartyMemo.Memo
SearchNameShort search name for finding the party (up to 20 characters).String (20)
NameAlias
NoYesDirPartyTable.NameAlias
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
OrganizationTypeKind of internal organisation: legal entity, operating unit or team.Enum
OMInternalOrganizationType
  • None 0
  • LegalEntity 1
  • OperatingUnit 2
  • Team 3
NoYesOMInternalOrganization.OrganizationType
OperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
NoYesOMOperatingUnit.OMOperatingUnitNumber
OperatingUnitTypesThe kind of operating unit, for example department, cost centre, value stream or business unit.Enum
OMOperatingUnitType
  • None 0
  • OMDepartment 1
  • OMCostCenter 2
  • OMValueStream 3
  • OMBusinessUnit 4
  • OMAnyOU 5
  • OMBranch 20
  • OMRentalLocation 21
  • OMRegion 22
  • RetailChannel 6
NoYesOMOperatingUnit.OMOperatingUnitType
PrimaryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
PrimaryAddressCountryRegionISOCodeISO code of the country or region of the address.String (2)
LogisticsAddressCountryRegionISOCode
NoYesNone
PrimaryAddressCountyCounty code of the address. It depends on the country and state.String (30)
LogisticsAddressCountyId
NoYesLogisticsAddressCounty.CountyIdLogisticsPostalAddress.County
PrimaryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
PrimaryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
PrimaryAddressValidFromDate and time from which the address is effective.UtcDateTime
EffectiveDateTime
NoYesLogisticsPostalAddress.ValidFrom
PrimaryAddressValidToDate and time when the address expires.UtcDateTime
ExpirationDateTime
NoYesLogisticsPostalAddress.ValidTo
PrimaryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
PrimaryAddressStateState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressState.StateIdLogisticsPostalAddress.State
PrimaryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
PrimaryContactEmailThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactEmailIsIMYes/no flag that marks the contact as instant message.Enum
LogisticsIsInstantMessage
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsInstantMessage
PrimaryContactFaxThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactPhoneThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactPhoneExtensionExtension number to add to the phone number.String
PhoneLocal
NoYesLogisticsElectronicAddress.LocatorExtension
PrimaryContactPhoneIsMobileYes/no flag that marks the contact as a mobile phone.Enum
LogisticsIsMobilePhone
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsMobilePhone
PrimaryContactTelexThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactURLThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
AddressLocationRolesText listing the purposes of the postal address.String (1000)
DirPartyAddressLocationRoleNames
NoYesDirPartyLocation.PostalAddressRoles
PrimaryContactPhonePurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactFaxPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactEmailPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactTelexPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactURLPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactEmailDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactFaxDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactFaxExtensionExtension number to add to the phone number.String
PhoneLocal
NoYesLogisticsElectronicAddress.LocatorExtension
PrimaryContactPhoneDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactTelexDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactURLDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactFacebookPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactFacebookIsPrivateYes/no flag that marks the contact as private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsPrivate
PrimaryContactFacebookDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactFacebookThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactTwitterPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactTwitterIsPrivateYes/no flag that marks the contact as private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsPrivate
PrimaryContactTwitterDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactTwitterThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.Locator
PrimaryContactLinkedInPurposeText listing the purposes of the contact detail.String (1000)
DirPartyContactLocationRoleNames
NoYesLogisticsElectronicAddress.ElectronicAddressRoles
PrimaryContactLinkedInIsPrivateYes/no flag that marks the contact as private.Enum
LogisticsIsPrivate
NoYes

Platform enum: values not in the metadata extract.

NoYesLogisticsElectronicAddress.IsPrivate
PrimaryContactLinkedInDescriptionShort description of the contact detail.String (60)
Description
NoYesLogisticsElectronicAddress.Description
PrimaryContactLinkedInThe contact number or address itself, such as a phone number or email address.String (255)
LogisticsElectronicAddressLocator
NoYesLogisticsElectronicAddress.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.StateId

    Many 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.CountryRegionId

    Many 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.

Email sales@drdynamics.co.uk