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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FundIDFund the hierarchy node belongs to. | String (30)TAMFundID | No | TAMFundTable.FundID | None |
NameName of the node. | String (254)EcoResCategoryName | Yes | None | |
BudgetedAmountBudgeted amount for this node. | RealAmount | No | None | |
CodeCode of the node. It uses the commodity code type.low confidence | String (20)EcoResCategoryCommodityCode | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustomerCustomer linked to this node. | Int64CustTableRefRecId | No | CustTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InstanceRelationTypeRelation type of the node.low confidence | Int64RelationType | No | None | |
IsActiveYes or no flag showing whether the node is active. | EnumNoYesIdNoYes (enum) | No | None | |
LevelDepth of the node in the hierarchy. | Int64EcoResCategoryLevel | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NestedSetLeftLeft value used to store the tree structure. | Int64EcoResCategoryNestedSetLeft | No | None | |
NestedSetRightRight value used to store the tree structure. | Int64EcoResCategoryNestedSetRight | No | None | |
ParentCategoryParent node of this node in the hierarchy. | Int64TAMFundCustCategoryRefRecId | No | TAMFundCustCategory.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UsedAmountAmount already used for this node. | RealAmount | No | None |
Indexes (5)
FundNameIdxReplacement keyUnique, alternate key.
ParentCategoryIdxNot unique.
CustomerIdxNot unique.
NestedSetRightIdxNot unique.
NestedSetLeftIdxNot unique.
Relations (3)
Each relation joins TAMFundCustCategory to another table on the fields shown.
CustTable→CustTableJoin on
Customer = CustTable.RecIdMany TAMFundCustCategory records → exactly one CustTable record
TAMFundCustCategory_Parent→TAMFundCustCategoryJoin on
ParentCategory = TAMFundCustCategory.RecIdMany TAMFundCustCategory records → zero or one TAMFundCustCategory record
TAMFundTable→TAMFundTableJoin on
FundID = TAMFundTable.FundIDMany 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.