Table

LedgerJournalTableHistory_W

LedgerJournalTable_W history data.

Stores history data for country-specific journal header fields. It links to a ledger journal history record. It covers fields for China, Russia, Brazil, Lithuania and payment format codes.

Table name
LedgerJournalTableHistory_W
Module
General ledger
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ApprovalStatus_CNApproval status, used for China: open, ready, rejected or approved.Enum
LedgerApprovalStatus_CN (enum)
NoNone
BusinessDocumentSubmissionId_WUnique identifier (GUID) for the business document submission.low confidenceGuid
SysGuid
NoNone
CashAccount_WDefault cash account, linked to the cash accounts.String (20)
RCashAccount
NoRCashTable.AccountNumNone
CategoryPurpose_WCategory purpose chosen from the payment format code sets.Int64
CategoryPurposeRecId_W
NoPaymentFormatCodeSets_W.RecIdNone
ChargeBearer_WCharge bearer chosen from the payment format code sets.Int64
ChargeBearerRecId_W
NoPaymentFormatCodeSets_W.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebitCurrencyCode_LTDebit currency code, used for Lithuania.String (3)
LtDebitCurrencyCode
NoCurrency.CurrencyCodeNone
FiscalEstablishment_BRFiscal establishment, used for Brazil.Int64
FiscalEstablishmentRecId_BR
NoFiscalEstablishment_BR.RecIdNone
ForeignBankFee_LTParty that pays foreign bank fees, used for Lithuania: sender, shared or beneficiary.Enum
LTForeignBankFee
ForeignBankFee_LT (enum)
NoNone
InformByPhone_LTYes or no flag to inform by phone, used for Lithuania.Enum
LTInformByPhone
NoYes (enum)
NoNone
InformByTelex_LTYes or no flag to inform by telex, used for Lithuania.Enum
LTInformByTelex
NoYes (enum)
NoNone
LedgerJournalTableLink to the ledger journal history record.Int64
LedgerJournalTableRecId
NoLedgerJournalTableHistory.RecIdNone
LocalInstrument_WLocal instrument chosen from the payment format code sets.Int64
LocalInstrumentRecId_W
NoPaymentFormatCodeSets_W.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentPriority_LTPayment priority, used for Lithuania: standard, urgent or express.Enum
LTPaymentPriority
PaymentPriority_LT (enum)
NoNone
Prepayment_WYes or no flag showing the journal voucher is a prepayment.Enum
NoYes (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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportingDate_RUReporting date, used for Russia.Date
ReportingDate_RU
NoNone
ReportPeriod_RUCalculation period date, used for Russia.Date
ReportPeriod_RU
NoNone
Reverse_RUYes or no flag showing the journal is reversed, used for Russia.Enum
NoYes (enum)
NoNone
ReverseJournalTable_LTLink to a related reversing journal history record, used for Lithuania.low confidenceInt64
LedgerJournalTableRecId
NoLedgerJournalTableHistory.RecIdNone
ReverseType_RUJournal type, used for Russia: basic or reversing entry.Enum
JournalReverseType_RU (enum)
NoNone
RTax25RegVersionVersion number of the tax register.low confidenceInteger
Version
NoNone
ServiceLevel_WService level chosen from the payment format code sets.Int64
ServiceLevelRecId_W
NoPaymentFormatCodeSets_W.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxType_BRType of tax, used for Brazil, such as IPI, ICMS or ISS.Enum
TaxType_BR (enum)
NoNone

Indexes (1)

Relations (9)

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

  • DebitCurrencyCode → Currency

    Join on DebitCurrencyCode_LT = Currency.CurrencyCode

    Many LedgerJournalTableHistory_W records → exactly one Currency record

  • FiscalEstablishment_BR → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Many LedgerJournalTableHistory_W records → exactly one FiscalEstablishment_BR record

  • LedgerJournalTable → LedgerJournalTableHistory

    Join on LedgerJournalTable = LedgerJournalTableHistory.RecId

    Exactly one LedgerJournalTableHistory_W record → exactly one LedgerJournalTableHistory record

  • RCashTable → RCashTable

    Join on CashAccount_W = RCashTable.AccountNum

    Many LedgerJournalTableHistory_W records → exactly one RCashTable record

  • ReverseLedgerJournalTable_LT → LedgerJournalTableHistory

    Join on LedgerJournalTableHistory.AssetTransferType_LT = LtAssetTransferType::ReverseJour, ReverseJournalTable_LT = LedgerJournalTableHistory.RecId

    Exactly one LedgerJournalTableHistory_W record → exactly one LedgerJournalTableHistory record

  • PaymentFormatCodeSets_CategoryPurpose → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::CategoryPurpose, CategoryPurpose_W = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_ChargeBearer → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ChargeBearer, ChargeBearer_W = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_LocalInstrument → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::LocalInstrument, LocalInstrument_W = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record

  • PaymentFormatCodeSets_ServiceLevel → PaymentFormatCodeSets_W

    Join on PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ServiceLevel, ServiceLevel_W = PaymentFormatCodeSets_W.RecId

    Many LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record

Get this data out

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

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

Email sales@drdynamics.co.uk