Table

TmpMCRARInvoice Temporary

Broker invoice temp table

Purpose not clear from the metadata.

Table name
TmpMCRARInvoice
Module
Cross-module and platform
Table group
Miscellaneous
Table type
InMemory
Data per company
Yes
Configuration key
TradeAgreements
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ApprovedAmountNo descriptionReal
AmountMST
NoNone
BrokerIdNo descriptionString (20)
MCRBrokerVendAccount
NoVendTable.AccountNumNone
BrokerNameNo descriptionString (160)
VendName
NoNone
CustomerIdNo descriptionString (20)
CustAccount
NoCustTable.AccountNumNone
CustomerNameNo descriptionString (160)
CustName
NoNone
DifferenceAmountNo descriptionReal
AmountMST
NoNone
InvoiceAmountNo descriptionReal
AmountMST
NoNone
InvoiceIdNo descriptionString (20)
CustInvoiceId
NoNone
LineCountNo descriptionInt64
RecIdCount
NoNone
MiscChargeCodeNo descriptionString
MarkupCode
NoNone
OpenAmountNo descriptionReal
AmountMST
NoNone
PartialInvoiceAmountNo descriptionReal
AmountMST
NoNone
PartialOpenAmountNo descriptionReal
AmountMST
NoNone
PartialSettledAmountNo descriptionReal
AmountMST
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QualifiedAmountNo descriptionReal
AmountMST
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
SalesIdNo descriptionString (20)
SalesId
NoSalesTable.SalesIdNone
SettledAmountNo descriptionReal
AmountMST
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • CustTable → CustTable

    Join on CustomerId = CustTable.AccountNum

    Many TmpMCRARInvoice records → exactly one CustTable record

  • InvoiceId → CustInvoiceJour

    Join on InvoiceId = CustInvoiceJour.InvoiceId

    Exactly one TmpMCRARInvoice record → zero or one CustInvoiceJour record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many TmpMCRARInvoice records → exactly one SalesTable record

  • VendTable → VendTable

    Join on BrokerId = VendTable.AccountNum

    Zero or one TmpMCRARInvoice record → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk