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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ApprovalStatus_CNApproval status, used for China: open, ready, rejected or approved. | EnumLedgerApprovalStatus_CN (enum) | No | None | |
BusinessDocumentSubmissionId_WUnique identifier (GUID) for the business document submission.low confidence | GuidSysGuid | No | None | |
CashAccount_WDefault cash account, linked to the cash accounts. | String (20)RCashAccount | No | RCashTable.AccountNum | None |
CategoryPurpose_WCategory purpose chosen from the payment format code sets. | Int64CategoryPurposeRecId_W | No | PaymentFormatCodeSets_W.RecId | None |
ChargeBearer_WCharge bearer chosen from the payment format code sets. | Int64ChargeBearerRecId_W | No | PaymentFormatCodeSets_W.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitCurrencyCode_LTDebit currency code, used for Lithuania. | String (3)LtDebitCurrencyCode | No | Currency.CurrencyCode | None |
FiscalEstablishment_BRFiscal establishment, used for Brazil. | Int64FiscalEstablishmentRecId_BR | No | FiscalEstablishment_BR.RecId | None |
ForeignBankFee_LTParty that pays foreign bank fees, used for Lithuania: sender, shared or beneficiary. | EnumLTForeignBankFeeForeignBankFee_LT (enum) | No | None | |
InformByPhone_LTYes or no flag to inform by phone, used for Lithuania. | EnumLTInformByPhoneNoYes (enum) | No | None | |
InformByTelex_LTYes or no flag to inform by telex, used for Lithuania. | EnumLTInformByTelexNoYes (enum) | No | None | |
LedgerJournalTableLink to the ledger journal history record. | Int64LedgerJournalTableRecId | No | LedgerJournalTableHistory.RecId | None |
LocalInstrument_WLocal instrument chosen from the payment format code sets. | Int64LocalInstrumentRecId_W | No | PaymentFormatCodeSets_W.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentPriority_LTPayment priority, used for Lithuania: standard, urgent or express. | EnumLTPaymentPriorityPaymentPriority_LT (enum) | No | None | |
Prepayment_WYes or no flag showing the journal voucher is a prepayment. | EnumNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReportingDate_RUReporting date, used for Russia. | DateReportingDate_RU | No | None | |
ReportPeriod_RUCalculation period date, used for Russia. | DateReportPeriod_RU | No | None | |
Reverse_RUYes or no flag showing the journal is reversed, used for Russia. | EnumNoYes (enum) | No | None | |
ReverseJournalTable_LTLink to a related reversing journal history record, used for Lithuania.low confidence | Int64LedgerJournalTableRecId | No | LedgerJournalTableHistory.RecId | None |
ReverseType_RUJournal type, used for Russia: basic or reversing entry. | EnumJournalReverseType_RU (enum) | No | None | |
RTax25RegVersionVersion number of the tax register.low confidence | IntegerVersion | No | None | |
ServiceLevel_WService level chosen from the payment format code sets. | Int64ServiceLevelRecId_W | No | PaymentFormatCodeSets_W.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxType_BRType of tax, used for Brazil, such as IPI, ICMS or ISS. | EnumTaxType_BR (enum) | No | None |
Indexes (1)
LedgerJournalTableIdxUnique, alternate key.
Relations (9)
Each relation joins LedgerJournalTableHistory_W to another table on the fields shown.
DebitCurrencyCode→CurrencyJoin on
DebitCurrencyCode_LT = Currency.CurrencyCodeMany LedgerJournalTableHistory_W records → exactly one Currency record
FiscalEstablishment_BR→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdMany LedgerJournalTableHistory_W records → exactly one FiscalEstablishment_BR record
LedgerJournalTable→LedgerJournalTableHistoryJoin on
LedgerJournalTable = LedgerJournalTableHistory.RecIdExactly one LedgerJournalTableHistory_W record → exactly one LedgerJournalTableHistory record
RCashTable→RCashTableJoin on
CashAccount_W = RCashTable.AccountNumMany LedgerJournalTableHistory_W records → exactly one RCashTable record
ReverseLedgerJournalTable_LT→LedgerJournalTableHistoryJoin on
LedgerJournalTableHistory.AssetTransferType_LT = LtAssetTransferType::ReverseJour,ReverseJournalTable_LT = LedgerJournalTableHistory.RecIdExactly one LedgerJournalTableHistory_W record → exactly one LedgerJournalTableHistory record
PaymentFormatCodeSets_CategoryPurpose→PaymentFormatCodeSets_WJoin on
PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::CategoryPurpose,CategoryPurpose_W = PaymentFormatCodeSets_W.RecIdMany LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record
PaymentFormatCodeSets_ChargeBearer→PaymentFormatCodeSets_WJoin on
PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ChargeBearer,ChargeBearer_W = PaymentFormatCodeSets_W.RecIdMany LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record
PaymentFormatCodeSets_LocalInstrument→PaymentFormatCodeSets_WJoin on
PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::LocalInstrument,LocalInstrument_W = PaymentFormatCodeSets_W.RecIdMany LedgerJournalTableHistory_W records → zero or one PaymentFormatCodeSets_W record
PaymentFormatCodeSets_ServiceLevel→PaymentFormatCodeSets_WJoin on
PaymentFormatCodeSets_W.Type = PaymentFormatCodeType_W::ServiceLevel,ServiceLevel_W = PaymentFormatCodeSets_W.RecIdMany 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.