Table

TAMCustAssignmentsFlat

Customer hierarchy flat

Flat view of customer hierarchy data for trade promotions. For each customer account it holds budgeted, planned, incurred and actual amounts split by off invoice, bill back and lump sum. It also has six generic text columns and no defined key.

Table name
TAMCustAssignmentsFlat
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActualBBActual amount for bill back.Real
AmountCur
NoNone
ActualLSActual amount for lump sum.Real
AmountCur
NoNone
ActualOIActual amount for off invoice.Real
AmountCur
NoNone
BudgetedAmountBudgeted amount.Real
AmountCur
NoNone
Column1General text column, first of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
Column2General text column, second of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
Column3General text column, third of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
Column4General text column, fourth of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
Column5General text column, fifth of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
Column6General text column, sixth of six. Its use is not stated in the metadata.low confidenceString (300)
MCRString300
NoNone
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
CustAccountCustomer account the amounts belong to.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IncurredBBIncurred amount for bill back.Real
AmountCur
NoNone
IncurredLSIncurred amount for lump sum.Real
AmountCur
NoNone
IncurredOIIncurred amount for off invoice.Real
AmountCur
NoNone
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
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlannedBBPlanned amount for bill back.Real
AmountCur
NoNone
PlannedLSPlanned amount for lump sum.Real
AmountCur
NoNone
PlannedOIPlanned amount for off invoice.Real
AmountCur
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalActualTotal of the actual amounts.Real
AmountCur
NoNone
TotalIncurredTotal of the incurred amounts.Real
AmountCur
NoNone
TotalPlannedTotal of the planned amounts.Real
AmountCur
NoNone

Relations (1)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many TAMCustAssignmentsFlat records → exactly one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk