Table

smmSalesUnitMembers

Sales unit members

Lists the workers who belong to a sales unit. The key is the sales unit, the salesperson and the relation type. A member can be linked as primary or secondary, and can have a parent member.

Table name
smmSalesUnitMembers
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SmmSM
Primary index
RecId
Replacement key
SalesUnitManRelation
Key fields
SalesUnitId, SalesPersonWorker, Relation
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesUnitIdSales unit that the member belongs to.String (20)
smmSalesUnitId
YessmmSalesUnit.SalesUnitIdNone
SalesPersonWorkerWorker who is the salesperson. It points to a worker record by system record ID.Int64
smmSalesManWorker
NoHcmWorker.RecIdNone
RelationType of link between the salesperson and the unit: primary or secondary.Enum
smmSalesUnitMemberRelation (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IdentificationName given to the sales unit member.String (20)
smmUnitMemberName
NoNone
MemberIdUnique ID of the sales unit member.String
smmSalesUnitMemberID
YesNone
ParentIdID of the parent member above this member.String
smmSalesUnitMemberID
NoNone
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
SalesManagerYes/No flag. It most likely shows whether the member is a sales manager. No label is given.low confidenceEnum
smmSalesManager
NoYes (enum)
NoNone
SalesManagerWorkerWorker who is the sales manager. It points to a worker record by system record ID.Int64
smmSalesManagerWorker
NoHcmWorker.RecIdNone
SortFieldYes/No flag with no label. Its purpose is not clear from the metadata.low confidenceEnum
NoYesId
NoYes (enum)
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

Indexes (4)

Relations (3)

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

  • SalesManagerWorker → HcmWorker

    Join on SalesManagerWorker = HcmWorker.RecId

    Many smmSalesUnitMembers records → zero or one HcmWorker record

  • SalesPersonWorker → HcmWorker

    Join on SalesPersonWorker = HcmWorker.RecId

    Many smmSalesUnitMembers records → zero or one HcmWorker record

  • smmSalesUnit → smmSalesUnit

    Join on SalesUnitId = smmSalesUnit.SalesUnitId

    Many smmSalesUnitMembers records → exactly one smmSalesUnit record

Get this data out

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

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

Email sales@drdynamics.co.uk