Table

TmpGeneralLedger_CN Temporary

General ledger

Purpose not clear from the metadata.

Table name
TmpGeneralLedger_CN
Module
Cross-module and platform
Table group
Miscellaneous
Table type
TempDB
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNameNo descriptionString (60)
AccountName
YesNone
AccountNumNo descriptionString (20)
MainAccountNum
NoNone
AmountCurCreditNo descriptionReal
AmountCur
NoNone
AmountCurDebitNo descriptionReal
AmountCur
NoNone
AmountMSTCreditNo descriptionReal
AmountMST
NoNone
AmountMSTDebitNo descriptionReal
AmountMST
NoNone
BalanceNo descriptionReal
AmountMST
NoNone
BalanceCurNo descriptionReal
AmountCur
NoNone
BalanceStatusNo descriptionEnum
LedgerBalanceStatus_CN (enum)
NoNone
CurrencyCodeNo descriptionString (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
ExchRateNo descriptionReal
ExchRate_CN
NoNone
ExplanationNo descriptionString (60)
Description
NoNone
isPrimaryNo descriptionEnum
NoYes (enum)
NoNone
LedgerAccountNo descriptionString (500)
DimensionDisplayValueLTR
NoNone
LedgerDimensionNo descriptionInt64
LedgerDimensionAccount
NoNone
PageBreakCounterNo descriptionInteger
Counter
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodCodeNo descriptionEnum
PeriodCode (enum)
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
RecordTypeNo descriptionInteger
Integer
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SortInGroupNo descriptionInteger
Counter
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateNo descriptionDate
TransDate
NoNone
TransMonthNo descriptionString
MonthName
NoNone
TransYearNo descriptionString (15)
DateDayName
NoNone

Indexes (1)

Relations (2)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TmpGeneralLedger_CN records → zero or one Currency record

  • MainAccount → MainAccount

    Join on AccountNum = MainAccount.MainAccountId

    Many TmpGeneralLedger_CN records → zero or one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk