Table

RetailMandatoryCheck

Mandatory check setup

Holds mandatory check rules for the fields of a table, keyed by table number and field number. Each rule names the kind of check (for example blank, zero or one of) and an optional value to compare with. The table number relates to items, and the related imported transactions table suggests the rules apply to imported retail data.

Table name
RetailMandatoryCheck
Module
Commerce
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
TableFieldIdx
Replacement key
None
Key fields
refTableId, refFieldId
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
refTableIdThe number that identifies the table the rule applies to. It relates to the items table.Integer
RetailTableId
YesNone
refFieldIdThe number that identifies the field the rule applies to.Integer
RetailFieldId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
mandatoryCheckForThe kind of check to run on the field, such as blank, not blank, zero, not zero, constant or one of.Enum
RetailMandatoryCheckFor
RetailMandatoryCheckForBase (enum)
NoNone
mandatoryValueThe value used by the check, for example the constant or the list of allowed values.String (250)
RetailMandatoryValue
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • InventTable → InventTable

    Join on refTableId = InventTable.TableId

    Many RetailMandatoryCheck records → zero or one InventTable record

  • RetailImportJournalTrans → RetailImportJournalTrans

    Join on refTableId = RetailImportJournalTrans.TableId

    Many RetailMandatoryCheck records → zero or one RetailImportJournalTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk