Table

LTMCompanyInfo

Company information

Parameter table with extra identification details for the company, such as country and state document numbers, taxpayer type and registration jurisdiction. It is keyed by company (DataAreaId). It links to company information, fiscal registers, taxpayer types, countries/regions and states.

Table name
LTMCompanyInfo
Module
Cross-module and platform
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
LTMCompanyInfoIdx
Replacement key
LTMCompanyInfoIdx
Key fields
dataAreaId
Model
GlobalizationLTM

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Concept1First free-text field for extra information.String (250)
LTMConcept1
NoNone
Concept2Second free-text field for extra information.String (250)
LTMConcept2
NoNone
Concept3Third free-text field for extra information.String (250)
LTMConcept3
NoNone
CountryDocNumNumber that identifies the company at country level.String (40)
LTMCountryDocNum
NoNone
CountryDocTypeIdType of document used for the country-level identification number, taken from the fiscal register.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
CountryRegionIdCountry or region where the company is based.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
KeyInteger key value for the record.low confidenceInteger
LTMKey
NoNone
Note1First long free-text note.String (-1)
LTMNote
NoNone
Note2Second long free-text note.String (-1)
LTMNote
NoNone
Note3Third long free-text note.String (-1)
LTMNote
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
StartUpDateDate value labelled simply as Date. Its exact meaning is not stated in the metadata.low confidenceDate
SysDate
NoNone
StateDocNumNumber that identifies the company at state level.String (30)
LTMStateDocNum
NoNone
StateDocTypeIdType of document used for the state-level identification number, taken from the fiscal register.String (15)
LTMDocTypeId
NoLTMFiscalRegisterV2.DocTypeIdNone
StateIdState or jurisdiction where the company is registered. It is matched together with the country or region.String
LogisticsAddressStateId
NoLogisticsAddressState.StateIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPayerTypeIdTaxpayer type of the company, pointing to the taxpayer type table.String (15)
LTMTaxPayerTypeId
NoLTMTaxPayerType.TaxPayerTypeIdNone

Indexes (1)

  • LTMCompanyInfoIdxPrimary indexReplacement key

    dataAreaId

    Unique, alternate key.

Relations (6)

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

  • LTMCountryFiscalRegister → LTMFiscalRegisterV2

    Join on CountryDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Zero or one LTMCompanyInfo record → zero or one LTMFiscalRegisterV2 record

  • LTMStateFiscalRegister → LTMFiscalRegisterV2

    Join on StateDocTypeId = LTMFiscalRegisterV2.DocTypeId

    Zero or one LTMCompanyInfo record → zero or one LTMFiscalRegisterV2 record

  • LTMTaxPayerType → LTMTaxPayerType

    Join on TaxPayerTypeId = LTMTaxPayerType.TaxPayerTypeId

    Zero or one LTMCompanyInfo record → zero or one LTMTaxPayerType record

  • CompanyInfo → CompanyInfo

    Join on dataAreaId = CompanyInfo.DataArea

    Many LTMCompanyInfo records → zero or one CompanyInfo record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    One or more LTMCompanyInfo records → zero or one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

    Join on CountryRegionId = LogisticsAddressState.CountryRegionId, StateId = LogisticsAddressState.StateId

    One or more LTMCompanyInfo records → zero or one LogisticsAddressState record

Get this data out

No public entity reads from LTMCompanyInfo. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk