Table

ReasonTableRef

Reason references

Stores reason references that other records use to point to a reason. Each record has a reason code, linked to the reasons table, and a short comment. Several journal, dispute and requisition entities use it.

Table name
ReasonTableRef
Module
General ledger
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Ledger

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoReasonTableRefBiEntityReasonTableRefCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonReason code, pointing to the reasons table.String
ReasonCode
NoReasonTable.ReasonReasonTableRefBiEntityReasonTableRefCDREntitySalesOrderHeaderV4Entityand 24 more
ReasonCommentShort comment, up to 60 characters, that explains the reason.String (60)
ReasonComment
NoReasonTableRefBiEntityReasonTableRefCDREntityPurchPurchaseOrderHeaderV2Entityand 11 more
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoReasonTableRefBiEntityReasonTableRefCDREntityCustDisputeEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoReasonTableRefBiEntity
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

Relations (1)

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

  • ReasonTable → ReasonTable

    Join on Reason = ReasonTable.Reason

    Many ReasonTableRef records → zero or one ReasonTable record

Get this data out

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

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

Email sales@drdynamics.co.uk