Table
ReasonTable
Reasons
Holds reason codes, one record per reason. Yes/no flags show which areas can use each reason, such as ledger, customer, vendor, bank or assets. It also has fields for Spain, India, Hungary and Indonesia.
- Table name
ReasonTable- Module
General ledger- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
ReasonIdx- Replacement key
None- Key fields
Reason- Model
Ledger
Fields (27)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReasonUnique code of the reason. | StringReasonCode | Yes | CashReasonsEntityCustCustomerReasonEntityLedgerFinancialReasonEntityand 3 more | |
AssetYes/no flag showing whether the reason is used for assets. | EnumNoYesIdNoYes (enum) | No | LedgerFinancialReasonEntityReasonTableCDREntity | |
BankYes/no flag showing whether the reason is used for bank. | EnumNoYesIdNoYes (enum) | No | LedgerFinancialReasonEntity | |
BankLGCancellationReasonYes/no flag showing whether the reason is a cancellation reason. | EnumNoYesIdNoYes (enum) | No | CustCustomerReasonEntityLedgerFinancialReasonEntityVendVendorReasonsEntityand 1 more | |
BankLGPurposeCodeYes/no flag showing whether the reason is a purpose code. | EnumNoYesIdNoYes (enum) | No | CustCustomerReasonEntityLedgerFinancialReasonEntityVendVendorReasonsEntityand 1 more | |
CustYes/no flag showing whether the reason is used for customers. | EnumNoYesIdNoYes (enum) | No | CustCustomerReasonEntityLedgerFinancialReasonEntityReasonTableCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | ReasonTableCDREntity | |
DescriptionDefault comment text for the reason. | String (60)Description | Yes | CashReasonsEntityCustCustomerReasonEntityLedgerFinancialReasonEntityand 3 more | |
LedgerYes/no flag showing whether the reason is used for ledger. | EnumNoYesIdNoYes (enum) | No | CashReasonsEntityLedgerFinancialReasonEntityReasonTableCDREntity | |
OnlineInvoicingOperation_HUOnline invoicing operation: none, create, modify or storno, used for Hungary. | EnumOnlineInvoicingOperation_HU (enum) | No | ReasonTableCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RAssetYes/no flag for fixed assets, used for Russia. | EnumNoYesIdNoYes (enum) | No | CashReasonsEntityLedgerFinancialReasonEntityReasonTableCDREntity | |
RCashYes/no flag showing whether the reason is used for cash, used for Russia. | EnumNoYesIdNoYes (enum) | No | LedgerFinancialReasonEntityReasonTableCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | ReasonTableCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ShowOnReport_INYes/no flag showing whether the reason appears on the GSTR report, used for India. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
SIICode_ESSII invoice type code linked to the reason, used for Spain. | StringSIICode_ES | No | ReasonTableCDREntity | |
SIIDescription_ESText that describes the SII code, used for Spain. | String (255)SIIDescription_ES | No | ReasonTableCDREntity | |
SubBillCustomerSplitYes/no flag showing whether the reason is used for customer split. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
SubBillHoldYes/no flag showing whether the reason is used for hold. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
SubBillMilestoneAuditYes/no flag showing whether the reason is used for milestone audit. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
SubBillTerminationYes/no flag showing whether the reason is used for termination. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
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 | |
TaxInvoiceOperation_IDTax invoice operation: none, cancellation or replacement, used for Indonesia. | EnumTaxInvoiceOperationType_ID (enum) | No | ReasonTableCDREntity | |
TaxJournal_INYes/no flag for use with tax journal transactions, used for India. | EnumNoYesIdNoYes (enum) | No | ReasonTableCDREntity | |
VendYes/no flag showing whether the reason is used for vendors. | EnumNoYesIdNoYes (enum) | No | LedgerFinancialReasonEntityVendVendorReasonsEntityReasonTableCDREntity |
Indexes (1)
ReasonIdxPrimary indexUnique, alternate key.
Get this data out
Tables are not exposed directly. These public entities read from ReasonTable; use one of them in Power BI, Power Platform or a data management project.
CashReasonsEntity· 4 fields from this tableCustCustomerReasonEntity· 5 fields from this tableLedgerFinancialReasonEntity· 11 fields from this tableVendVendorReasonsEntity· 5 fields from this tableReasonTableCDREntity· 22 fields from this tableVRMVendorReasonEntity· 2 fields from this table
Need help with ReasonTable in a report, an integration or a migration? Talk to Dr Dynamics.