Table

PayIntV1OMLegal

Payroll integration v1 legal entities table

Holds legal entity (company) data for the payroll integration (version 1). Each record combines the party name, primary address, primary contact details and many country-specific registration fields. The table has no defined key. The payroll integration entity PayIntV1OMLegalEntity uses it.

Table name
PayIntV1OMLegal
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
PayrollIntegration

Fields (111)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingPersonnelName of the accounting person. Used for Japan.String (60)
AccountingPersonnel_JP
NoPayIntV1OMLegalEntity
AccountsOfficeReferenceNumberAccounts office reference number of the company.String (13)
AccountOfficeRefNum
NoPayIntV1OMLegalEntity
AddressBooksText list of the address books the party belongs to.String (1000)
DirAddressBookNames
NoPayIntV1OMLegalEntity
AddressCityCity of the primary address.String (60)
LogisticsAddressCityName
NoPayIntV1OMLegalEntity
AddressCountryRegionIdCountry or region code of the primary address.String
LogisticsAddressCountryRegionId
YesPayIntV1OMLegalEntity
AddressCountryRegionISOCodeTwo-letter ISO code of the address country or region.String (2)
LogisticsAddressCountryRegionISOCode
NoPayIntV1OMLegalEntity
AddressCountyCounty of the primary address.String (30)
LogisticsAddressCountyId
NoPayIntV1OMLegalEntity
AddressDescriptionName or description of the address.String (60)
LogisticsDescription
NoPayIntV1OMLegalEntity
AddressDistrictNameDistrict of the primary address.String (60)
LogisticsAddressDistrictName
NoPayIntV1OMLegalEntity
AddressLatitudeLatitude of the primary address.Real
LogisticsAddressLatitude
NoPayIntV1OMLegalEntity
AddressLocationRolesText list of the purposes of the address.String (1000)
DirPartyAddressLocationRoleNames
NoPayIntV1OMLegalEntity
AddressLongitudeLongitude of the primary address.Real
LogisticsAddressLongitude
NoPayIntV1OMLegalEntity
AddressStateState or province of the primary address.String
LogisticsAddressStateId
NoPayIntV1OMLegalEntity
AddressStreetStreet of the primary address.String (250)
LogisticsAddressStreet
NoPayIntV1OMLegalEntity
AddressTimeZoneTime zone of the primary address.Enum
Timezone (enum)
NoPayIntV1OMLegalEntity
AddressValidFromDate and time from which the address is valid.UtcDateTime
EffectiveDateTime
NoPayIntV1OMLegalEntity
AddressValidToDate and time at which the address stops being valid.UtcDateTime
ExpirationDateTime
NoPayIntV1OMLegalEntity
AddressZipCodeZIP or postal code of the primary address.String
LogisticsAddressZipCodeId
NoPayIntV1OMLegalEntity
BusinessItemDescription of the business item. Used for Japan.String (30)
AssetBusinessItem_JP
NoPayIntV1OMLegalEntity
CertifiedTaxAccountantNameName of the certified tax accountant. Used for Japan.String (60)
AssetCertifiedTaxAccountant_JP
NoPayIntV1OMLegalEntity
CommerceRegistrationCommerce registration number. Used for France.String (30)
CompanyRegComFR
NoPayIntV1OMLegalEntity
CompanyCountryCountry or region of the company.String
AddressCountryRegionId
NoPayIntV1OMLegalEntity
CompanyNameName of the company.String (60)
CompanyName
NoPayIntV1OMLegalEntity
CompanyRepresentativeName of the company representative. Used for Japan.String (60)
CompanyRepresentative_JP
NoPayIntV1OMLegalEntity
CompanyTypeType of company, such as legal entity, legal person or foreign company. Used for Mexico.Enum
CompanyType_MX (enum)
NoPayIntV1OMLegalEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CUCCUC code of the company. Used for Italy.String (8)
CUC_IT
NoPayIntV1OMLegalEntity
CurpLegalRepresentativeCURP number of the legal representative. Used for Mexico.String (18)
Curp_MX
NoPayIntV1OMLegalEntity
CurpNumberCURP number of the company. Used for Mexico.String (18)
Curp_MX
NoPayIntV1OMLegalEntity
DNBRoutingNumberDNB routing number used in payments.String (8)
PaymRoutingDNB
NoPayIntV1OMLegalEntity
ExternalLegalRepresentativeNameName of the external legal representative. Used for Japan.String (60)
AssetLegalRepresentative_JP
NoPayIntV1OMLegalEntity
FICreditorIDFI creditor ID. Used for Denmark.String (8)
FICreditorID_DK
NoPayIntV1OMLegalEntity
FiscalCodeFiscal code of the company.String (11)
IVACode
NoPayIntV1OMLegalEntity
FullPrimaryAddressName or description of the primary address.String (60)
LogisticsDescription
NoPayIntV1OMLegalEntity
ImportVATNumTax exempt number used for imports.low confidenceString (20)
VATNum
NoPayIntV1OMLegalEntity
InitialCapitalInvestmentInitial capital invested in the business. Used for Japan.Real
AssetBusinessInitialCapital_JP
NoPayIntV1OMLegalEntity
LanguageIdLanguage code of the legal entity.String (7)
LanguageId
NoPayIntV1OMLegalEntity
LegalEntityIdCompany ID of the legal entity.String
SelectableDataArea
YesPayIntV1OMLegalEntity
LegalFormLegal form of the company. Used for France.String (100)
CompanyLegalFormFR
NoPayIntV1OMLegalEntity
LegalNatureLegal nature of the company, such as limited liability company or cooperative. Used for Italy.Enum
LegalNature_IT (enum)
NoPayIntV1OMLegalEntity
LegalRepresentativeNameName of the legal representative. Used for Mexico.String (50)
LegalRepresentativeName_MX
NoPayIntV1OMLegalEntity
LocalizationCountryRegionCodeRegion whose localised functions apply to the company. It can be detected from the company address.Enum
SysLocalizationCountryRegionCode (enum)
NoPayIntV1OMLegalEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NAICSNAICS industry classification code.String (6)
DirNaicsCode
NoPayIntV1OMLegalEntity
NameName of the legal entity.String (160)
DirPartyName
YesPayIntV1OMLegalEntity
NameAliasShort search name for the legal entity.String (20)
NameAlias
NoPayIntV1OMLegalEntity
NationalClassificationOfCompanyEconomicActivityCNAE code for the company's economic activity. Used for Brazil.String
CNAE_BR
NoPayIntV1OMLegalEntity
NationalRegistryNumberNational registry number of the organisation.String
OrgId
NoPayIntV1OMLegalEntity
OriginalRecIdSystem record ID of the source record.Int64NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyNumberParty ID that identifies the legal entity as a party.String (40)
DirPartyNumber
YesPayIntV1OMLegalEntity
PartyTypeType of the party record, as a text name.String (13)
DirPartyInstanceRelationTypeName
NoPayIntV1OMLegalEntity
PersonInChargeName of the contact person. Used for Japan.String (60)
AssetPersonInCharge_JP
NoPayIntV1OMLegalEntity
PhoneticNamePhonetic spelling of the legal entity name.String (160)
DirPartyName
NoPayIntV1OMLegalEntity
PrimaryAddressLocationIdID of the location record used as the primary address.String (40)
LogisticsLocationId
YesPayIntV1OMLegalEntity
PrimaryContactEmailPrimary email address of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactEmailDescriptionDescription of the primary email contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactEmailIsIMYes or No flag showing whether the email contact is used for instant messages.Enum
LogisticsIsInstantMessage
NoYes (enum)
NoPayIntV1OMLegalEntity
PrimaryContactEmailPurposePurposes of the primary email contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactFacebookFacebook contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactFacebookDescriptionDescription of the Facebook contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactFacebookIsPrivateYes or No flag showing whether the Facebook contact is private.Enum
LogisticsIsPrivate
NoYes (enum)
NoPayIntV1OMLegalEntity
PrimaryContactFacebookPurposePurposes of the Facebook contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactFaxPrimary fax number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactFaxDescriptionDescription of the primary fax contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactFaxExtensionExtension number for the primary fax contact.String
PhoneLocal
NoPayIntV1OMLegalEntity
PrimaryContactFaxPurposePurposes of the primary fax contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactLinkedInLinkedIn contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactLinkedInDescriptionDescription of the LinkedIn contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactLinkedInIsPrivateYes or No flag showing whether the LinkedIn contact is private.Enum
LogisticsIsPrivate
NoYes (enum)
NoPayIntV1OMLegalEntity
PrimaryContactLinkedInPurposePurposes of the LinkedIn contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactPhonePrimary phone number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactPhoneDescriptionDescription of the primary phone contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactPhoneExtensionExtension number for the primary phone contact.String
PhoneLocal
NoPayIntV1OMLegalEntity
PrimaryContactPhoneIsMobileYes or No flag showing whether the primary phone is a mobile phone.Enum
LogisticsIsMobilePhone
NoYes (enum)
NoPayIntV1OMLegalEntity
PrimaryContactPhonePurposePurposes of the primary phone contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactTelexPrimary telex number of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactTelexDescriptionDescription of the primary telex contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactTelexPurposePurposes of the primary telex contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactTwitterTwitter contact of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactTwitterDescriptionDescription of the Twitter contact.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactTwitterIsPrivateYes or No flag showing whether the Twitter contact is private.Enum
LogisticsIsPrivate
NoYes (enum)
NoPayIntV1OMLegalEntity
PrimaryContactTwitterPurposePurposes of the Twitter contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrimaryContactURLPrimary web address of the legal entity.String (255)
LogisticsElectronicAddressLocator
NoPayIntV1OMLegalEntity
PrimaryContactURLDescriptionDescription of the primary web address.String (60)
Description
NoPayIntV1OMLegalEntity
PrimaryContactURLPurposePurposes of the primary web address contact.String (1000)
DirPartyContactLocationRoleNames
NoPayIntV1OMLegalEntity
PrintCorrectiveInvoiceYes or No flag for printing a corrective invoice on sales credit notes. Used for Germany.Enum
PrintCorrInvoiceLabel_DE
NoYes (enum)
NoPayIntV1OMLegalEntity
PrintCorrectiveInvoiceStartingDateDate from which the corrective invoice setting applies. Used for Germany.Date
PrintCorrInvoiceLabelEffDate_DE
NoPayIntV1OMLegalEntity
PrintEnterpriseRegisterYes or No flag for printing the Foretaksregisteret number on sales documents.Enum
NoYes (enum)
NoPayIntV1OMLegalEntity
PrintINNKPPInAddressYes or No flag for printing INN and KPP in the company address. Used for Russia.Enum
PrintINNKPPInAddress_RU
NoYes (enum)
NoPayIntV1OMLegalEntity
ProfitMarginSchemeYes or No flag for a profit margin scheme.low confidenceEnum
NoYesId
NoYes (enum)
NoPayIntV1OMLegalEntity
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
RegistrationNumberBusiness registration number. Used for Canada.String (9)
BusinessNumber_CA
NoPayIntV1OMLegalEntity
ReportFolderFile path of the folder used for reports.String (259)
FilePath
NoPayIntV1OMLegalEntity
RfcRFC number of the company. Used for Mexico.String (13)
Rfc_MX
NoPayIntV1OMLegalEntity
RfcLegalRepresentativeRFC number of the legal representative. Used for Mexico.String (13)
Rfc_MX
NoPayIntV1OMLegalEntity
SoftwareIdentificationCodeSoftware identification code. Used for Canada.String (8)
SoftwareIdentificationCode_CA
NoPayIntV1OMLegalEntity
StartDateOfBusinessDate the business started. Used for Japan.Date
AssetBusinessCommencedDate_JP
NoPayIntV1OMLegalEntity
StateInscriptionState inscription number. Used for Mexico.String (30)
StateInscription_MX
NoPayIntV1OMLegalEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimeZoneTime zone of the legal entity.Enum
Timezone (enum)
NoPayIntV1OMLegalEntity
TraderNumberTrader number used in payments.String (4)
PaymTraderNumber
NoPayIntV1OMLegalEntity
UseForFinancialConsolidationProcessYes or No flag showing whether the company is used in financial consolidation.Enum
NoYes (enum)
NoPayIntV1OMLegalEntity
UseForFinancialEliminationProcessYes or No flag showing whether the company is used in financial elimination.Enum
NoYes (enum)
NoPayIntV1OMLegalEntity
VATNumTax exempt number of the company.String (20)
VATNum
NoPayIntV1OMLegalEntity
VATOnCustomerBehalfYes or No flag for VAT handled on behalf of the customer.low confidenceEnum
NoYesId
NoYes (enum)
NoPayIntV1OMLegalEntity
VATRefundYes or No flag for VAT refund.low confidenceEnum
NoYesId
NoYes (enum)
NoPayIntV1OMLegalEntity

Indexes (3)

Get this data out

Tables are not exposed directly. These public entities read from PayIntV1OMLegal; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk