Table

RetailBarcodeMaskSegment

Bar code mask segment

Holds the segments that make up a bar code mask. The key is the mask ID plus the segment number. Each segment has a type, character, length and number of decimals.

Table name
RetailBarcodeMaskSegment
Module
Commerce miscellaneous
Table group
Parameter
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
MaskSegmentIdx
Replacement key
None
Key fields
maskId, SegmentNum
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
maskIdID of the bar code mask the segment belongs to.String
RetailBarcodeMaskId
YesRetailBarcodeMaskTable.maskIdRetailBarcodeMaskSegmentEntity
SegmentNumPosition number of the segment in the mask.Integer
RetailBarcodeMaskSegmentNum
YesRetailBarcodeMaskSegmentEntity
CharCharacter used for the segment.String (1)
RetailBarcodeMaskChar
NoRetailBarcodeMaskSegmentEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DecimalsNumber of decimals in the segment.Integer
RetailBarcodeMaskSegmentDecimals
NoRetailBarcodeMaskSegmentEntity
LengthLength of the segment.Real
RetailBarcodeMaskLength
YesRetailBarcodeMaskSegmentEntity
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
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
TypeKind of data in the segment, such as product, price, quantity or employee.Enum
RetailBarcodeMaskCharacterType
RetailBarcodeMaskCharacterTypeBase (enum)
NoRetailBarcodeMaskCharacter.CharacterTypeRetailBarcodeMaskSegmentEntity

Indexes (1)

Relations (2)

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

  • RetailBarcodeMaskCharacter → RetailBarcodeMaskCharacter

    Join on Type = RetailBarcodeMaskCharacter.CharacterType

    Many RetailBarcodeMaskSegment records → zero or one RetailBarcodeMaskCharacter record

  • RetailBarcodeMaskTable → RetailBarcodeMaskTable

    Join on maskId = RetailBarcodeMaskTable.maskId

    Many RetailBarcodeMaskSegment records → exactly one RetailBarcodeMaskTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailBarcodeMaskSegment; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk