Table

CustInvoiceJour_W

Customer invoice journal

Extra data for a customer invoice journal record, holding fields needed by several countries. Each row links to one invoice journal record. It includes bank accounts, number sequence codes, entry certificate details, e-invoice identifiers and tax fields for countries such as Latvia, Lithuania, Hungary, Malaysia, Italy and Egypt.

Table name
CustInvoiceJour_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 for the invoice.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CashDiscOrigInvoiceCustTrans_CZPoints to the customer transaction of the original invoice for a cash discount, used for Czech Republic.Int64
RefRecId
NoCustTrans.RecIdCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CompanyCurBankAccount_WCompany bank account for an additional currency.String
CompanyBankAccountId
NoBankAccountTable.AccountIDCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoCustInvoiceJourWBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoCustInvoiceJour_WCDREntityCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CustBankAccount_LVCustomer bank account, used for Latvia.String
CustBankAccountId
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CustConsInvoice_JPPoints to the consolidated invoice for the customer, used for Japan.Int64
CustVendConsRefRecId_JP
NoCustConsInvoice_JP.RecIdCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
CustInvoiceJourPoints to the customer invoice journal record.Int64
RefRecId
YesCustInvoiceJour.RecIdCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
EntryCertificateReceiptDate_WDate the entry certificate was received.Date
EntryCertificateReceiptDate_W
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
EntryCertificateReceiptStatus_WStatus of the entry certificate: not required, required or received.Enum
EntryCertificateReceiptStatus_W (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
EProfileIDTRElectronic invoice profile, such as basic, commercial or export invoice.Enum
EInvoiceProfileIDTR (enum)
NoCustInvoiceJourWBiEntity
hasReference_MYYes/no flag showing whether the invoice has a reference, used for Malaysia.low confidenceEnum
NoYesId
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
IntrastatAddValue_LVAdditional value for Intrastat, used for Latvia.Real
LvIntrastatAddValue
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
InvoiceType_ITType of invoice: invoice, credit note or prepayment invoice, used for Italy.Enum
InvoiceType_IT (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
InvoiceType_MYType of invoice, such as GST invoice or self-billed invoice, used for Malaysia.Enum
InvoiceType_MY (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
IsCashDiscReversed_CZYes/no flag showing whether the cash discount is reversed, used for Czech Republic.Enum
NoYesId
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
NoteType_MYWhether the journal is a credit note or debit note, used for Malaysia.Enum
NoteType_MY (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
NumberSequenceCode_WNumber sequence code used for the invoice.String
NumberSequenceCode
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
NumberSequenceId_ITReference to a number sequence record, used for Italy.Int64
RefRecId
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
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 to print an empty date.Enum
LtPrintBlankDate
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
QRCode_WQR code text for the invoice.String (1000)
FreeText1000
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntitySalesInvoiceEntity_W
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoCustInvoiceJourWBiEntity
SalesDate_WDate of the sale.Date
SalesDate_W
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
StateInvoicePrinted_LVYes/no flag showing whether the invoice was printed, used for Latvia.Enum
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
SubmissionUUID_EGUnique invoice identifier from the tax authorities, used for Egypt.String (50)
UUID
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
SubmissionUUID_WUnique identifier of the invoice submission.String (1000)
FreeText1000
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntitySalesInvoiceEntity_W
SumTaxWithhold_INTotal withheld tax amount, used for India.Real
AmountCur
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoCustInvoiceJourWBiEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxReimbursementDoc_HUTax reimbursement document number, used for Hungary.String (20)
TaxReimbursementDoc_HU
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
TaxWithholdAmount_INWithheld tax amount, used for India.Real
AmountCur
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
UnitedVATInvoice_LTYes/no flag for a united VAT invoice, used for Lithuania.Enum
UnitedVATInvoice_LT
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
VatSettled_HUYes/no flag showing whether VAT is settled, used for Hungary.Enum
NoYesId
NoYes (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity
WhoIsAuthor_LTWho authored the document: company, customer or vendor, used for Lithuania.Enum
LtDocOriginator (enum)
NoCustInvoiceJour_WCDREntityCustInvoiceJourWBiEntity

Indexes (2)

Relations (6)

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

  • CustConsInvoice_JP → CustConsInvoice_JP

    Join on CustConsInvoice_JP = CustConsInvoice_JP.RecId

    Many CustInvoiceJour_W records → zero or one CustConsInvoice_JP record

  • CustInvoiceJour → CustInvoiceJour

    Join on CustInvoiceJour = CustInvoiceJour.RecId

    Zero or one CustInvoiceJour_W record → exactly one CustInvoiceJour record

  • CustTrans_CZ → CustTrans

    Join on CashDiscOrigInvoiceCustTrans_CZ = CustTrans.RecId

    Many CustInvoiceJour_W records → zero or one CustTrans record

  • NumberSequenceTable → NumberSequenceTable

    Join on NumberSequenceCode_W = NumberSequenceTable.NumberSequence

    Many CustInvoiceJour_W records → zero or one NumberSequenceTable record

  • BankAccount_W → BankAccountTable

    Join on BankAccount_W = BankAccountTable.AccountID

    Many CustInvoiceJour_W records → zero or one BankAccountTable record

  • CompanyCurBankAccount_W → BankAccountTable

    Join on CompanyCurBankAccount_W = BankAccountTable.AccountID

    Many CustInvoiceJour_W records → zero or one BankAccountTable record

Get this data out

Tables are not exposed directly. These public entities read from CustInvoiceJour_W; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk