Table

CustInvoiceJourHistory_W

CustInvoiceJour_W history data

Holds historical copies of customer invoice header data for several country-specific needs, such as Czech Republic, Latvia, Japan, Lithuania, Malaysia, Italy, Egypt and Turkey. Each row links to a customer invoice journal record.

Table name
CustInvoiceJourHistory_W
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (38)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BankAccount_WPrimary company bank account.String
CompanyBankAccountId
NoNone
CashDiscOrigInvoiceCustTrans_CZReference to the original invoice transaction for a cash discount, used for Czech Republic.low confidenceInt64
RefRecId
NoNone
CompanyCurBankAccount_WCompany bank account for an additional currency.String
CompanyBankAccountId
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustBankAccount_LVCustomer bank account, used for Latvia.String
CustBankAccountId
NoNone
CustConsInvoice_JPReference to the consolidated invoice, used for Japan.Int64
CustVendConsRefRecId_JP
NoNone
CustInvoiceJourReference to the customer invoice journal record.Int64
RefRecId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EntryCertificateReceiptDate_WDate the entry certificate was received.Date
EntryCertificateReceiptDate_W
NoNone
EntryCertificateReceiptStatus_WEntry certificate status: not required, required or received.Enum
EntryCertificateReceiptStatus_W (enum)
NoNone
EProfileIDTRElectronic invoice profile, such as basic, commercial or export invoice.Enum
EInvoiceProfileIDTR (enum)
NoNone
hasReference_MYYes/No flag, probably showing whether a reference exists, used for Malaysia.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
IntrastatAddValue_LVAdditional value for Intrastat, used for Latvia.Real
LvIntrastatAddValue
NoNone
InvoiceType_ITInvoice type: invoice, credit note or prepayment invoice, used for Italy.Enum
InvoiceType_IT (enum)
NoNone
InvoiceType_MYInvoice type, such as GST invoice or self-billed invoice, used for Malaysia.Enum
InvoiceType_MY (enum)
NoNone
IsCashDiscReversed_CZYes/No flag for a reversed cash discount, used for Czech Republic.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NoteType_MYNote type of the invoice journal: blank, credit note or debit note, used for Malaysia.Enum
NoteType_MY (enum)
NoNone
NumberSequenceCode_WCode of the number sequence.String
NumberSequenceCode
NoNone
NumberSequenceId_ITReference to a number sequence record, used for Italy.low confidenceInt64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintBlankDate_WYes/No flag for printing an empty date.Enum
LtPrintBlankDate
NoYes (enum)
NoNone
QRCode_WQR code text for the invoice.String (1000)
FreeText1000
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
SalesDate_WDate of the sale.Date
SalesDate_W
NoNone
StateInvoicePrinted_LVYes/No flag, probably showing whether the state invoice was printed, used for Latvia.low confidenceEnum
NoYes (enum)
NoNone
SubmissionUUID_EGUnique invoice ID issued by the tax authority, used for Egypt.String (50)
UUID
NoNone
SubmissionUUID_WUnique ID of the invoice submission.String (1000)
FreeText1000
NoNone
SumTaxWithhold_INTotal withholding tax amount in the transaction currency, used for India.Real
AmountCur
NoNone
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
TaxReimbursementDoc_HUTax reimbursement document number, used for Hungary.String (20)
TaxReimbursementDoc_HU
NoNone
TaxWithholdAmount_INWithholding tax amount in the transaction currency, used for India.Real
AmountCur
NoNone
UnitedVATInvoice_LTYes/No flag for a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoNone
VatSettled_HUYes/No flag showing whether VAT is settled, used for Hungary.Enum
NoYesId
NoYes (enum)
NoNone
WhoIsAuthor_LTAuthor of the document: company, customer or vendor, used for Lithuania.Enum
LtDocOriginator (enum)
NoNone

Indexes (1)

Get this data out

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

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

Email sales@drdynamics.co.uk