Table
smmSalesUnit
Sales management units
Lists the sales management units. The key is the sales unit ID. A unit can point to a parent unit, so units form a hierarchy. Each unit has a type of line, matrix or project.
- Table name
smmSalesUnit- Module
Sales and marketing- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
SmmSM- Primary index
SalesUnitIdx- Replacement key
SalesUnitIdx- Key fields
SalesUnitId- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesUnitIdUnique code of the sales unit. | String (20)smmSalesUnitId | Yes | None | |
ActiveYes/No flag. Shows whether the sales unit is active. | EnumNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the sales unit. | String (60)smmDescription | Yes | None | |
ParentIdSales unit above this one in the hierarchy. | String (20)smmSalesUnitParentId | No | smmSalesUnit.SalesUnitId | 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 | |
SalesUnitManagerIdID of the sales unit member who manages the unit. | StringsmmSalesUnitMemberID | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitTypeOrganization type of the unit: line, matrix or project. | EnumsmmSalesUnitType (enum) | No | None |
Indexes (2)
SalesUnitIdxPrimary indexReplacement keyUnique, alternate key.
SalesUnitManagerIdxNot unique.
Relations (1)
Each relation joins smmSalesUnit to another table on the fields shown.
smmSalesUnit→smmSalesUnitJoin on
ParentId = smmSalesUnit.SalesUnitIdMany smmSalesUnit records → zero or one smmSalesUnit record
Get this data out
No public entity reads from smmSalesUnit. Its data is only reachable through the application, a custom entity or a database export.
Need help with smmSalesUnit in a report, an integration or a migration? Talk to Dr Dynamics.