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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ReasonUnique code of the reason.String
ReasonCode
YesCashReasonsEntityCustCustomerReasonEntityLedgerFinancialReasonEntityand 3 more
AssetYes/no flag showing whether the reason is used for assets.Enum
NoYesId
NoYes (enum)
NoLedgerFinancialReasonEntityReasonTableCDREntity
BankYes/no flag showing whether the reason is used for bank.Enum
NoYesId
NoYes (enum)
NoLedgerFinancialReasonEntity
BankLGCancellationReasonYes/no flag showing whether the reason is a cancellation reason.Enum
NoYesId
NoYes (enum)
NoCustCustomerReasonEntityLedgerFinancialReasonEntityVendVendorReasonsEntityand 1 more
BankLGPurposeCodeYes/no flag showing whether the reason is a purpose code.Enum
NoYesId
NoYes (enum)
NoCustCustomerReasonEntityLedgerFinancialReasonEntityVendVendorReasonsEntityand 1 more
CustYes/no flag showing whether the reason is used for customers.Enum
NoYesId
NoYes (enum)
NoCustCustomerReasonEntityLedgerFinancialReasonEntityReasonTableCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoReasonTableCDREntity
DescriptionDefault comment text for the reason.String (60)
Description
YesCashReasonsEntityCustCustomerReasonEntityLedgerFinancialReasonEntityand 3 more
LedgerYes/no flag showing whether the reason is used for ledger.Enum
NoYesId
NoYes (enum)
NoCashReasonsEntityLedgerFinancialReasonEntityReasonTableCDREntity
OnlineInvoicingOperation_HUOnline invoicing operation: none, create, modify or storno, used for Hungary.Enum
OnlineInvoicingOperation_HU (enum)
NoReasonTableCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RAssetYes/no flag for fixed assets, used for Russia.Enum
NoYesId
NoYes (enum)
NoCashReasonsEntityLedgerFinancialReasonEntityReasonTableCDREntity
RCashYes/no flag showing whether the reason is used for cash, used for Russia.Enum
NoYesId
NoYes (enum)
NoLedgerFinancialReasonEntityReasonTableCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoReasonTableCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ShowOnReport_INYes/no flag showing whether the reason appears on the GSTR report, used for India.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
SIICode_ESSII invoice type code linked to the reason, used for Spain.String
SIICode_ES
NoReasonTableCDREntity
SIIDescription_ESText that describes the SII code, used for Spain.String (255)
SIIDescription_ES
NoReasonTableCDREntity
SubBillCustomerSplitYes/no flag showing whether the reason is used for customer split.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
SubBillHoldYes/no flag showing whether the reason is used for hold.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
SubBillMilestoneAuditYes/no flag showing whether the reason is used for milestone audit.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
SubBillTerminationYes/no flag showing whether the reason is used for termination.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
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
TaxInvoiceOperation_IDTax invoice operation: none, cancellation or replacement, used for Indonesia.Enum
TaxInvoiceOperationType_ID (enum)
NoReasonTableCDREntity
TaxJournal_INYes/no flag for use with tax journal transactions, used for India.Enum
NoYesId
NoYes (enum)
NoReasonTableCDREntity
VendYes/no flag showing whether the reason is used for vendors.Enum
NoYesId
NoYes (enum)
NoLedgerFinancialReasonEntityVendVendorReasonsEntityReasonTableCDREntity

Indexes (1)

  • ReasonIdxPrimary index

    Reason

    Unique, 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.

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

Email sales@drdynamics.co.uk