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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ReasonTableRefBiEntityReasonTableRefCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonReason code, pointing to the reasons table. | StringReasonCode | No | ReasonTable.Reason | ReasonTableRefBiEntityReasonTableRefCDREntitySalesOrderHeaderV4Entityand 24 more |
ReasonCommentShort comment, up to 60 characters, that explains the reason. | String (60)ReasonComment | No | ReasonTableRefBiEntityReasonTableRefCDREntityPurchPurchaseOrderHeaderV2Entityand 11 more | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ReasonTableRefBiEntityReasonTableRefCDREntityCustDisputeEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | ReasonTableRefBiEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Relations (1)
Each relation joins ReasonTableRef to another table on the fields shown.
ReasonTable→ReasonTableJoin on
Reason = ReasonTable.ReasonMany 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.
ReasonTableRefBiEntity· 5 fields from this tableReasonTableRefCDREntity· 4 fields from this tableSalesOrderHeaderV4Entity· 1 field from this tableSalesOrderHeaderV3Entity· 1 field from this tableSalesOrderLineV3Entity· 1 field from this tablePurchaseRequisitionLineCDSV2Entity· 1 field from this tablePurchaseRequisitionLineV2Entity· 1 field from this tablePurchPurchaseOrderHeaderV2Entity· 2 fields from this tableSalesOrderHeaderV2Entity· 1 field from this tableSalesOrderLineV2Entity· 1 field from this tableCustInvoiceJournalLineEntity· 2 fields from this tablePurchaseRequisitionLineCDSEntity· 1 field from this tablePurchaseRequisitionLineEntity· 1 field from this tablePurchPurchaseOrderHeaderEntity· 2 fields from this tableRAssetLifeHistEntity· 2 fields from this tableRAssetMoveHistEntity· 2 fields from this tableSalesOrderHeaderEntity· 1 field from this tablePurchRequestForQuotationReplyLineV2Entity· 2 fields from this tablePurchPurchaseOrderConfirmationHeaderEntity· 2 fields from this tablePurchRequestForQuotationReplyHeaderEntity· 2 fields from this tablePurchRequestForQuotationReplyLineEntity· 2 fields from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 1 field from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 1 field from this tableVendRequestForQuotationJournalHeaderEntity· 2 fields from this tableVendRequestForQuotationJournalLineEntity· 2 fields from this tableCustDisputeEntity· 3 fields from this tableUbuyPurchaseRequisitionLineEntity· 1 field from this table
Need help with ReasonTableRef in a report, an integration or a migration? Talk to Dr Dynamics.