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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesUnitIdUnique code of the sales unit.String (20)
smmSalesUnitId
YesNone
ActiveYes/No flag. Shows whether the sales unit is active.Enum
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the sales unit.String (60)
smmDescription
YesNone
ParentIdSales unit above this one in the hierarchy.String (20)
smmSalesUnitParentId
NosmmSalesUnit.SalesUnitIdNone
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
SalesUnitManagerIdID of the sales unit member who manages the unit.String
smmSalesUnitMemberID
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnitTypeOrganization type of the unit: line, matrix or project.Enum
smmSalesUnitType (enum)
NoNone

Indexes (2)

Relations (1)

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

  • smmSalesUnit → smmSalesUnit

    Join on ParentId = smmSalesUnit.SalesUnitId

    Many 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.

Email sales@drdynamics.co.uk