Table

CustVendCreditInvoicingJour

Credit invoicing jour

Stores credit invoicing details that link a correcting invoice to the original customer or vendor invoice. It is keyed by the invoice table ID and invoice record ID. It holds the original invoice number and date, the reason and the correction method.

Table name
CustVendCreditInvoicingJour
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
InvoiceIdx
Key fields
InvoiceTableId, InvoiceRecId
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InvoiceTableIdID of the table that holds the invoice, forming part of the key.Integer
RefTableId
NoBusinessDocumentCustVendCreditInvoicingJourEntity
InvoiceRecIdPoints to the invoice journal record that this entry belongs to.Int64
RefRecId
NoBusinessDocumentCustVendCreditInvoicingJourEntity
AccountTypeType of account the entry applies to, such as customer, vendor, ledger or bank.Enum
LedgerJournalACType (enum)
NoNone
CorrectedInvoiceRecIdPoints to the customer invoice journal record that is being corrected.Int64
RefRecId
NoBusinessDocumentCustVendCreditInvoicingJourEntity
CustVendCorrectedInvoiceDateDate of the original invoice.Date
InvoiceDate
NoBusinessDocumentCustVendCreditInvoicingJourEntity
CustVendCorrectedInvoiceIdNumber of the original invoice that is corrected.String (50)
CustVendCorrectedInvoiceId
NoNone
CustVendCorrectedInvoicesInfoFree-text note about the corrected invoices.String (-1)
Notes
NoNone
CustVendCorrectiveReasonFree text explaining why the invoice is corrected.String (-1)
CustVendCorrectiveReason
NoNone
CustVendCorrectiveReasonCodeCode for the item that is corrected, such as invoice number, issue date or address.Enum
CustVendCorrectiveReasonCode (enum)
NoNone
CustVendCorrectiveReasonMethodMethod of correction, such as complete correction or correction for differences.Enum
CustVendCorrectiveReasonMethod (enum)
NoNone
CustVendInvoiceAccountCustomer or vendor account number on the invoice.String (20)
CustVendAC
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBusinessDocumentCustVendCreditInvoicingJourEntity
FinTagPoints to a financial tag record.Int64
FinTagRecId
NoFinTag.RecIdNone
IsSalesPurchCopyingYes or no flag. The label is empty, so its exact meaning is unclear.low confidenceEnum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonRefRecIDPoints to a reason reference record.Int64
ReasonRefRecID
NoReasonTableRef.RecIdBusinessDocumentCustVendCreditInvoicingJourEntity
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
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

Indexes (2)

Relations (8)

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

  • CustInvoiceJourCorrected → CustInvoiceJour

    Join on CorrectedInvoiceRecId = CustInvoiceJour.RecId, InvoiceTableId = CustInvoiceJour.TableId

    Many CustVendCreditInvoicingJour records → zero or one CustInvoiceJour record

  • CustInvoiceJourCorrection → CustInvoiceJour

    Join on InvoiceRecId = CustInvoiceJour.RecId, InvoiceTableId = CustInvoiceJour.TableId

    Zero or one CustVendCreditInvoicingJour record → zero or one CustInvoiceJour record

  • ProjInvoiceJourCorrected → ProjInvoiceJour

    Join on CorrectedInvoiceRecId = ProjInvoiceJour.RecId, InvoiceTableId = ProjInvoiceJour.TableId

    Many CustVendCreditInvoicingJour records → zero or one ProjInvoiceJour record

  • ProjInvoiceJourCorrection → ProjInvoiceJour

    Join on InvoiceRecId = ProjInvoiceJour.RecId, InvoiceTableId = ProjInvoiceJour.TableId

    Zero or one CustVendCreditInvoicingJour record → zero or one ProjInvoiceJour record

  • VendInvoiceJourCorrected → VendInvoiceJour

    Join on CorrectedInvoiceRecId = VendInvoiceJour.RecId, InvoiceTableId = VendInvoiceJour.TableId

    Many CustVendCreditInvoicingJour records → zero or one VendInvoiceJour record

  • VendInvoiceJourCorrection → VendInvoiceJour

    Join on InvoiceRecId = VendInvoiceJour.RecId, InvoiceTableId = VendInvoiceJour.TableId

    Zero or one CustVendCreditInvoicingJour record → zero or one VendInvoiceJour record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonRefRecID = ReasonTableRef.RecId

    Many CustVendCreditInvoicingJour records → zero or one ReasonTableRef record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many CustVendCreditInvoicingJour records → zero or one FinTag record

Get this data out

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

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

Email sales@drdynamics.co.uk