Table

CompanyInfo

Legal entities

Holds one row for each legal entity (company), keyed by its company ID. It stores the company's name, tax and registration numbers, bank accounts, calendars, address format and many country-specific fields. It links to the global address book, the internal organisation, banks, payment instructions and tax records.

Table name
CompanyInfo
Module
General ledger
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
RecId
Replacement key
Key
Key fields
DataArea
Model
Directory
Extends
OMInternalOrganization

Fields (115)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesBankAccountTable.dataAreaIdBankAccountTable.dataAreaIdBankCentralBankPurpose.dataAreaIdTaxAuthorityAddress.dataAreaIdWorkCalendarTable.dataAreaIdTrvExpMobileCompanyInfoV2EntityTrvExpMobileCompanyInfoEntityCompanyInfoCDREntityand 178 more
Accountant_LTName of the chief accountant; used for Lithuania.String (60)
Name
NoNone
AccountingPersonnel_JPName of the accounting staff member; used for Japan.String (60)
AccountingPersonnel_JP
NoOMLegalEntity
AccountOfficeRefNumReference number of the accounts office.String (13)
AccountOfficeRefNum
NoCompanyInfoCDREntityOMLegalEntity
ActivityCodeCode for the company's business activity.String (9)
CompanyActivityCode
NoCompanyInfoCDREntity
AddrFormatAddress format used by the company.String
AddressFormatId
NoLogisticsAddressFormatHeading.AddrFormatCompanyInfoCDREntity
BankMain bank account of the company.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCompanyInfoCDREntity
BankAcctUsedFor1099Bank account used for 1099 payments.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCompanyInfoCDREntity
BankCentralBankPurposeCodeCentral bank purpose code for payments.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeCompanyInfoCDREntity
BankCentralBankPurposeTextFree text describing the purpose for central bank reporting.String (210)
BankCentralBankPurposeText
NoCompanyInfoCDREntity
BranchIdBranch or subsidiary ID of the company.String
CompanyBranchId
NoCompanyInfoCDREntity
BusinessActivity_SABusiness activity of the company, for Zakat reporting; used for Saudi Arabia.String
CompanyBusinessActivityZakat_SA
NoCompanyInfoCDREntityOfficeAddinLegalEntityEntity
BusinessActivityDesc_SADescription of the business activity, for Zakat reporting; used for Saudi Arabia.String (60)
CompanyBusinessActivityDescZakat_SA
NoCompanyInfoCDREntityOfficeAddinLegalEntityEntity
BusinessCommencedDate_JPDate the business started; used for Japan.Date
AssetBusinessCommencedDate_JP
NoCompanyInfoCDREntityOMLegalEntity
BusinessInitialCapital_JPInitial capital invested in the business; used for Japan.Real
AssetBusinessInitialCapital_JP
NoCompanyInfoCDREntityOMLegalEntity
BusinessItem_JPBusiness item of the company; used for Japan.String (30)
AssetBusinessItem_JP
NoCompanyInfoCDREntityOMLegalEntity
BusinessNumber_CABusiness registration number; used for Canada.String (9)
BusinessNumber_CA
NoCompanyInfoCDREntityOMLegalEntity
CertifiedTaxAccountant_JPName of the certified tax accountant; used for Japan.String (60)
AssetCertifiedTaxAccountant_JP
NoCompanyInfoCDREntityOMLegalEntity
CNAE_BRCNAE economic activity code; used for Brazil.String
CNAE_BR
NoCompanyInfoCDREntityOMLegalEntity
CombinedFedStateFilerYes or No: whether the company files combined federal and state returns.Enum
NoYes (enum)
NoCompanyInfoCDREntity
CompanyInitialCapital_FRInitial capital of the company, in its accounting currency; used for France.Real
CompanyInitialCapital_FR
NoCompanyInfoCDREntity
CompanyNAFCodeNAF code of the company.Int64
CompanyNAFRecId
NoCompanyNAFCode.RecIdCompanyInfoCDREntity
CompanyRegComFRCommerce registration number; used for France.String (30)
CompanyRegComFR
NoCompanyInfoCDREntityOMLegalEntity
CompanyRepresentative_JPName of the company representative; used for Japan.String (60)
CompanyRepresentative_JP
NoCompanyInfoCDREntityOMLegalEntity
CompanyType_MXType of company, such as legal entity or foreign company; used for Mexico.Enum
CompanyType_MX (enum)
NoCompanyInfoCDREntityOMLegalEntity
ConversionDateA conversion date for the company.low confidenceDate
TransDate
NoCompanyInfoCDREntity
CoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoCompanyInfoCDREntityBusinessDocumentSalesInvoiceBaseEntity
CUC_ITCUC code of the company; used for Italy.String (8)
CUC_IT
NoCompanyInfoCDREntityOMLegalEntity
Curp_MXCURP number of the company; used for Mexico.String (18)
Curp_MX
NoCompanyInfoCDREntityOMLegalEntity
DashboardImageTypeType of image shown on the dashboard: default, none, banner or logo.Enum
DashboardImageType (enum)
NoCompanyInfoCDREntity
DBATrading name (doing business as) of the company.String (60)
DBA
NoCompanyInfoCDREntity
DeclarantName_AEDeclarant, from the global address book; used for United Arab Emirates.Int64
RefRecId
NoDirPartyTable.RecIdCompanyInfoCDREntity
DVRidDVR number of the company.low confidenceString (20)
CompanyDVRid
NoCompanyInfoCDREntity
EeEnablePersonalDataReadLogYes or No: turns on logging of personal data reads.Enum
NoYes (enum)
NoCompanyInfoCDREntity
EeEnableRoleChangeLogYes or No: turns on logging of role changes.Enum
NoYes (enum)
NoCompanyInfoCDREntity
EnterpriseCodeEnterprise code of the company.String (50)
EnterpriseCode
NoCompanyInfoCDREntity
FICreditorID_DKFI creditor ID; used for Denmark.String (8)
FICreditorID_DK
NoCompanyInfoCDREntityOMLegalEntity
FileNumber_SAZakat file number; used for Saudi Arabia.String (15)
CompanyFileNumZakat_SA
NoCompanyInfoCDREntityOfficeAddinLegalEntityEntity
FiscalCode_ITFiscal code of the company; used for Italy.String (11)
IVACode
NoCompanyInfoCDREntityOMLegalEntity
ForeignEntityIndicatorYes or No: whether the company is a foreign entity for 1099 reporting.Enum
Tax1099ForeignEntityIndicator
NoYes (enum)
NoCompanyInfoCDREntity
FSS_RURegistration code with the FSS; used for Russia.String
FSS
NoCompanyInfoCDREntity
FSSAccount_RUTerritorial authority of the insurer; used for Russia.String (20)
CustVendAC
NoCompanyInfoCDREntity
GiroGiro account number of the company.String (48)
GiroNum
NoCompanyInfoCDREntity
GiroContractBESR ID number of the giro contract.String
GiroContractNum
NoCompanyInfoCDREntity
GiroContractAccountESR giro contract account number.String (11)
GiroContractAccount
NoCompanyInfoCDREntity
Head_LTName of the head of the company; used for Lithuania.String (60)
Name
NoCompanyInfoCDREntity
ImportVATNumVAT exemption number used for imports.String (20)
VATNum
NoCompanyInfoCDREntityOMLegalEntity
ImportVATNumBranchIdBranch number extension for the import VAT exemption number.String
CompanyBranchId
NoCompanyInfoCDREntity
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoCompanyInfoCDREntity
IntrastatCodeExternal Intrastat code of the company.String
IntrastatExternalCode
NoCompanyInfoCDREntity
IsConsolidationCompanyYes or No: whether the company is used in financial consolidation.Enum
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
IsEliminationCompanyYes or No: whether the company is used in financial elimination.Enum
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
IssuingSignatureIssuing signature code; used for Italy.low confidenceString (20)
IssuingSignature_IT
NoCompanyInfoCDREntity
IsUEIFEnabledYes or No: whether business document submission through UEIF is supported.Enum
NoYesId
NoYes (enum)
NoNone
KeyInternal key number for the record.low confidenceInteger
ParametersKey
NoCompanyInfoCDREntity
LastFilingIndicatorYes or No: whether this is the last 1099 filing.Enum
Tax1099LastFilingIndicator
NoYes (enum)
NoCompanyInfoCDREntity
LegalFormFRLegal form of the company; used for France.String (100)
CompanyLegalFormFR
NoCompanyInfoCDREntityOMLegalEntity
LegalNature_ITLegal nature of the company, such as a limited liability company or a cooperative; used for Italy.Enum
LegalNature_IT (enum)
NoCompanyInfoCDREntityOMLegalEntity
LegalRepresentative_JPName of the external legal representative; used for Japan.String (60)
AssetLegalRepresentative_JP
NoOMLegalEntity
LegalRepresentativeCurp_MXCURP number of the legal representative; used for Mexico.String (18)
Curp_MX
NoCompanyInfoCDREntityOMLegalEntity
LegalRepresentativeName_MXName of the legal representative; used for Mexico.String (50)
LegalRepresentativeName_MX
NoOMLegalEntity
LegalRepresentativeRfc_MXRFC number of the legal representative; used for Mexico.String (13)
Rfc_MX
NoCompanyInfoCDREntityOMLegalEntity
LocalizationCountryRegionCodeCountry or region whose localised functions apply to the company, or detection by company address.Enum
SysLocalizationCountryRegionCode (enum)
NoCompanyInfoCDREntityOMLegalEntity
NAICSNAICS industry classification code.String (6)
DirNaicsCode
NoCompanyInfoCDREntityOMLegalEntity
NameControlFour-character name control code of the company.String (4)
NameControl
NoCompanyInfoCDREntity
OrganizationLegalForm_RUOrganisational-legal form of the company; used for Russia.String (40)
OrganizationLegalForm_RU
NoCompanyInfoCDREntity
OrgIdNational registry number of the company.String
OrgId
NoCompanyInfoCDREntityOMLegalEntity
PackMaterialFeeLicenseNumLicence number for the packing material fee.String (20)
InventPackingMaterialFeeLicenseNum
NoCompanyInfoCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoCompanyInfoCDREntity
PaymInstruction1First payment instruction code.Int64
PaymInstructionRecId
NoPaymInstruction.RecIdCompanyInfoCDREntity
PaymInstruction2Second payment instruction code.Int64
PaymInstructionRecId
NoPaymInstruction.RecIdCompanyInfoCDREntity
PaymInstruction3Third payment instruction code.Int64
PaymInstructionRecId
NoPaymInstruction.RecIdCompanyInfoCDREntity
PaymInstruction4Fourth payment instruction code.Int64
PaymInstructionRecId
NoPaymInstruction.RecIdCompanyInfoCDREntity
PaymRoutingDNBDNB routing number for payments.String (8)
PaymRoutingDNB
NoCompanyInfoCDREntityOMLegalEntity
PaymTraderNumberTrader number used for payments.String (4)
PaymTraderNumber
NoCompanyInfoCDREntityOMLegalEntity
PersonInCharge_JPContact person for the company; used for Japan.String (60)
AssetPersonInCharge_JP
NoCompanyInfoCDREntityOMLegalEntity
PFRegNum_RUPension fund registration number; used for Russia.String (14)
PFRegNum_RU
NoCompanyInfoCDREntity
PlanningCompanyYes or No: whether this is a planning company.Enum
NoYesId
NoYes (enum)
NoCompanyInfoCDREntity
PrintCorrInvoiceLabel_DEYes or No: whether a corrective invoice label prints on sales credit notes; used for Germany.Enum
PrintCorrInvoiceLabel_DE
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
PrintCorrInvoiceLabelEffDate_DEStarting date for the corrective invoice label; used for Germany.Date
PrintCorrInvoiceLabelEffDate_DE
NoCompanyInfoCDREntityOMLegalEntity
PrintEnterpriseregister_NOYes or No: whether the Foretaksregisteret text prints on sales documents; used for Norway.Enum
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
PrintINNKPPInAddress_RUYes or No: whether INN and KPP numbers print in the company address; used for Russia.Enum
PrintINNKPPInAddress_RU
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
PrivacyConsent_DKYes or No privacy consent flag; used for Denmark.low confidenceEnum
NoYes (enum)
NoCompanyInfoCDREntity
ProfitMarginScheme_AEYes or No: whether the profit margin scheme applies; used for United Arab Emirates.Enum
NoYesId
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
RAlienCorpCountryCountry or region linked to the company's alternative name.low confidenceString
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdCompanyInfoCDREntityOMLegalEntity
RAlienCorpNameCompany name used for an alien (foreign) corporation.low confidenceString (60)
CompanyName
NoCompanyInfoCDREntityOMLegalEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoTrvExpMobileCompanyInfoV2EntityCompanyInfoCDREntityCompanyInfoCDREntityand 1 more
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCompanyInfoCDREntity
RegNumRouting number of the company.String (25)
CompanyRegNum
NoCompanyInfoCDREntity
Resident_WYes or No: whether the company is a resident.Enum
NoYes (enum)
NoCompanyInfoCDREntity
Rfc_MXRFC number of the company; used for Mexico.String (13)
Rfc_MX
NoCompanyInfoCDREntityOMLegalEntityBusinessDocumentSalesInvoiceBaseEntity
RFullNameFull name of the company.String (60)
CompanyName
NoNone
ShippingCalendarIdShipping calendar of the company.String
CompanyShippingCalendarId
NoWorkCalendarTable.CalendarIdCompanyInfoCDREntity
SiaCodeSIA code of the company.String (5)
CompanySIACode
NoCompanyInfoCDREntity
SoftwareIdentificationCode_CASoftware identification code; used for Canada.String (8)
SoftwareIdentificationCode_CA
NoCompanyInfoCDREntityOMLegalEntity
StateInscription_MXState inscription number; used for Mexico.String (30)
StateInscription_MX
NoCompanyInfoCDREntityOMLegalEntity
SubordinateCodeCode of subordination of the company.String (5)
SubordinateCode
NoCompanyInfoCDREntity
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
NoBusinessDocumentSalesInvoiceBaseEntity
Tax1099RegNumFederal tax ID used for 1099 reporting.String (11)
Tax1099RegNum
NoCompanyInfoCDREntity
TaxableAgencyName_AETax agency, from the global address book; used for United Arab Emirates.Int64
RefRecId
NoDirPartyTable.RecIdCompanyInfoCDREntity
TaxableAgentName_AETax agent, from the global address book; used for United Arab Emirates.Int64
RefRecId
NoDirPartyTable.RecIdCompanyInfoCDREntity
TaxablePersonName_AETaxable person, from the global address book; used for United Arab Emirates.Int64
RefRecId
NoDirPartyTable.RecIdCompanyInfoCDREntity
TaxAuthority_RUTax authority (TDMI) of the company; used for Russia.String
TaxAuthority
NoTaxAuthorityAddress.TaxAuthorityCompanyInfoCDREntity
TaxGSTHSTAccountId_CAGST/HST account identifier; used for Canada.String (4)
TaxGSTHSTAccountId_CA
NoCompanyInfoCDREntity
TaxRegimeCode_MXTax regime code of the company; used for Mexico.String
EInvoiceExtCodeId_MX
NoCompanyInfoCDREntity
TaxRepresentativeName of the tax representative.String (45)
TaxRepresentative
NoCompanyInfoCDREntity
TCCTCC code of the company.String (5)
TCC
NoCompanyInfoCDREntity
TemplateFolder_WFolder path where report templates are kept.String (259)
FilePath
NoCompanyInfoCDREntityOMLegalEntity
UPSNumDelivery number of the company.low confidenceString (20)
UPSNum
NoCompanyInfoCDREntity
validate1099OnEntryYes or No: whether Tax 1099 data formats are checked when entered.Enum
NoYes (enum)
NoCompanyInfoCDREntity
VATNumVAT exemption number used for exports.String (20)
VATNum
NoCompanyInfoCDREntityCapturedInvoiceLegalEntityEntityOMLegalEntity
VATNumBranchIdBranch number extension for the export VAT exemption number.String
CompanyBranchId
NoCompanyInfoCDREntity
VATOnCustomerBehalf_AEYes or No: whether VAT is handled on behalf of the customer; used for United Arab Emirates.Enum
NoYesId
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity
VATRefund_AEYes or No: whether a VAT refund is required; used for United Arab Emirates.Enum
NoYesId
NoYes (enum)
NoCompanyInfoCDREntityOMLegalEntity

Indexes (8)

Relations (20)

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

  • CountryRegionId → LogisticsAddressCountryRegion

    Join on RAlienCorpCountry = LogisticsAddressCountryRegion.CountryRegionId

    Many CompanyInfo records → zero or one LogisticsAddressCountryRegion record

  • LogisticsAddressFormatHeading → LogisticsAddressFormatHeading

    Join on AddrFormat = LogisticsAddressFormatHeading.AddrFormat

    Many CompanyInfo records → zero or one LogisticsAddressFormatHeading record

  • OMLEInternalOrganization_FK → OMInternalOrganization

    Join on RecId = OMInternalOrganization.RecId

    Zero or one CompanyInfo record → exactly one OMInternalOrganization record

  • ImportVATNum → TaxVATNumTable

    Join on ImportVATNum = TaxVATNumTable.VATNum

    Zero or one CompanyInfo record → zero or one TaxVATNumTable record

  • BankAccount → BankAccountTable

    Join on DataArea = BankAccountTable.dataAreaId, Bank = BankAccountTable.AccountID

    Many CompanyInfo records → zero or one BankAccountTable record

  • BankAcctUsedFor1099 → BankAccountTable

    Join on DataArea = BankAccountTable.dataAreaId, BankAcctUsedFor1099 = BankAccountTable.AccountID

    Many CompanyInfo records → zero or one BankAccountTable record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on DataArea = BankCentralBankPurpose.dataAreaId, BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many CompanyInfo records → zero or one BankCentralBankPurpose record

  • TaxAuthority_RU → TaxAuthorityAddress

    Join on DataArea = TaxAuthorityAddress.dataAreaId, TaxAuthority_RU = TaxAuthorityAddress.TaxAuthority

    Many CompanyInfo records → zero or one TaxAuthorityAddress record

  • VATNum → TaxVATNumTable

    Join on VATNum = TaxVATNumTable.VATNum

    Zero or one CompanyInfo record → zero or one TaxVATNumTable record

  • WorkCalendarTable → WorkCalendarTable

    Join on DataArea = WorkCalendarTable.dataAreaId, ShippingCalendarId = WorkCalendarTable.CalendarId

    Many CompanyInfo records → zero or one WorkCalendarTable record

  • CompanyNAFCode → CompanyNAFCode

    Join on CompanyNAFCode = CompanyNAFCode.RecId

    Many CompanyInfo records → zero or one CompanyNAFCode record

  • PaymInstruction1 → PaymInstruction

    Join on PaymInstruction1 = PaymInstruction.RecId

    Many CompanyInfo records → zero or one PaymInstruction record

  • PaymInstruction2 → PaymInstruction

    Join on PaymInstruction2 = PaymInstruction.RecId

    Many CompanyInfo records → zero or one PaymInstruction record

  • PaymInstruction3 → PaymInstruction

    Join on PaymInstruction3 = PaymInstruction.RecId

    Many CompanyInfo records → zero or one PaymInstruction record

  • PaymInstruction4 → PaymInstruction

    Join on PaymInstruction4 = PaymInstruction.RecId

    Many CompanyInfo records → zero or one PaymInstruction record

  • EInvoiceExtCodeTable_MX → EInvoiceExtCodeTable_MX

    Join on TaxRegimeCode_MX = EInvoiceExtCodeTable_MX.CodeId, EInvoiceExtCodeTable_MX.CodeType = null

    Exactly one CompanyInfo record → exactly one EInvoiceExtCodeTable_MX record

  • TaxablePersonName_AE → DirPartyTable

    Join on TaxablePersonName_AE = DirPartyTable.RecId

    Many CompanyInfo records → zero or one DirPartyTable record

  • TaxAgencyName_AE → DirPartyTable

    Join on TaxableAgencyName_AE = DirPartyTable.RecId

    Many CompanyInfo records → zero or one DirPartyTable record

  • TaxAgentName_AE → DirPartyTable

    Join on TaxableAgentName_AE = DirPartyTable.RecId

    Many CompanyInfo records → zero or one DirPartyTable record

  • DeclarantName_AE → DirPartyTable

    Join on DeclarantName_AE = DirPartyTable.RecId

    Many CompanyInfo records → zero or one DirPartyTable record

Get this data out

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

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

Email sales@drdynamics.co.uk