Table

TAMFundCustCategory

Fund hierarchy table

Customer hierarchy for a trade allowance fund. Rows form a tree using parent links and nested set values, and can link to a customer. Each node holds a budgeted and a used amount. The key is the fund ID plus the name.

Table name
TAMFundCustCategory
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
None
Replacement key
FundNameIdx
Key fields
FundID, Name
Model
Foundation

Fields (21)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FundIDFund the hierarchy node belongs to.String (30)
TAMFundID
NoTAMFundTable.FundIDNone
NameName of the node.String (254)
EcoResCategoryName
YesNone
BudgetedAmountBudgeted amount for this node.Real
Amount
NoNone
CodeCode of the node. It uses the commodity code type.low confidenceString (20)
EcoResCategoryCommodityCode
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
CustomerCustomer linked to this node.Int64
CustTableRefRecId
NoCustTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeRelation type of the node.low confidenceInt64
RelationType
NoNone
IsActiveYes or no flag showing whether the node is active.Enum
NoYesId
NoYes (enum)
NoNone
LevelDepth of the node in the hierarchy.Int64
EcoResCategoryLevel
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
NestedSetLeftLeft value used to store the tree structure.Int64
EcoResCategoryNestedSetLeft
NoNone
NestedSetRightRight value used to store the tree structure.Int64
EcoResCategoryNestedSetRight
NoNone
ParentCategoryParent node of this node in the hierarchy.Int64
TAMFundCustCategoryRefRecId
NoTAMFundCustCategory.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UsedAmountAmount already used for this node.Real
Amount
NoNone

Indexes (5)

Relations (3)

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

  • CustTable → CustTable

    Join on Customer = CustTable.RecId

    Many TAMFundCustCategory records → exactly one CustTable record

  • TAMFundCustCategory_Parent → TAMFundCustCategory

    Join on ParentCategory = TAMFundCustCategory.RecId

    Many TAMFundCustCategory records → zero or one TAMFundCustCategory record

  • TAMFundTable → TAMFundTable

    Join on FundID = TAMFundTable.FundID

    Many TAMFundCustCategory records → exactly one TAMFundTable record

Get this data out

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

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

Email sales@drdynamics.co.uk