Table

TmpMCRCustSearchTable Temporary

Customer search temp

Purpose not clear from the metadata.

Table name
TmpMCRCustSearchTable
Module
Cross-module and platform
Table group
Miscellaneous
Table type
InMemory
Data per company
Yes
Configuration key
TradeCustomerSearch
Primary index
AccountIdx
Replacement key
None
Key fields
CustAccount, BusRelAccount
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAccountNo descriptionString (20)
CustAccount
NoCustTable.AccountNumNone
BusRelAccountNo descriptionString (20)
smmBusRelAccount
NosmmBusRelTable.BusRelAccountNone
AddressNo descriptionString (250)
Addressing
NoNone
BusRelTypeIDNo descriptionString (20)
smmBusRelTypeId
NosmmBusRelTypeGroup.TypeIdNone
CityNo descriptionString (60)
AddressCity
NoNone
CountyNo descriptionString (30)
AddressCountyId
NoNone
MCRCompanyNameNo descriptionString (60)
CompanyName
NoNone
MCRMergedRootNo descriptionString (20)
CustAccount
NoCustTable.AccountNumNone
MCRSmmListTypeNo descriptionEnum
MCRSmmListType (enum)
NoNone
NameNo descriptionString (160)
CustName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PhoneNo descriptionString (20)
Phone
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
StateNo descriptionString
LogisticsAddressStateId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ZipCodeNo descriptionString
LogisticsAddressZipCodeId
NoNone

Indexes (1)

Relations (8)

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

  • AddressCounty → LogisticsAddressCounty

    Join on County = LogisticsAddressCounty.CountyId, State = LogisticsAddressCounty.StateId

    Many TmpMCRCustSearchTable records → zero or one LogisticsAddressCounty record

  • CustAccount → CustTable

    Join on CustAccount = CustTable.AccountNum

    Exactly one TmpMCRCustSearchTable record → zero or one CustTable record

  • MCRMergedRoot → CustTable

    Join on MCRMergedRoot = CustTable.AccountNum

    Many TmpMCRCustSearchTable records → exactly one CustTable record

  • ProjTable → ProjTable

    Join on CustAccount = ProjTable.CustAccount

    Exactly one TmpMCRCustSearchTable record → zero or one ProjTable record

  • SalesTable → SalesTable

    Join on CustAccount = SalesTable.CustAccount

    Many TmpMCRCustSearchTable records → zero or one SalesTable record

  • smmBusRelTable → smmBusRelTable

    Join on BusRelAccount = smmBusRelTable.BusRelAccount

    Zero or one TmpMCRCustSearchTable record → exactly one smmBusRelTable record

  • smmBusRelTypeGroup → smmBusRelTypeGroup

    Join on BusRelTypeID = smmBusRelTypeGroup.TypeId

    Many TmpMCRCustSearchTable records → exactly one smmBusRelTypeGroup record

  • ZipCode → LogisticsAddressZipCode

    Join on ZipCode = LogisticsAddressZipCode.ZipCode

    Many TmpMCRCustSearchTable records → zero or one LogisticsAddressZipCode record

Get this data out

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

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

Email sales@drdynamics.co.uk