Table

CustVendCreditInvoicingTable

Credit invoicing header

Holds correction details for a credit invoice header. Each record is tied to a source record through a table ID and record ID pair, such as a customer free text invoice. It stores the original invoice, the account, the reason and the correction method.

Table name
CustVendCreditInvoicingTable
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
ReferenceIdx
Key fields
RefTableId, RefRecId
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableIdID of the table that the source record belongs to.Integer
RefTableId
NoNone
RefRecIdSystem record ID of the source record, for example a customer free text invoice.Int64
RefRecId
NoNone
AccountTypeType of account the correction relates to, such as ledger, customer or vendor.Enum
LedgerJournalACType (enum)
NoNone
CustVendCorrectedInvoiceDateDate of the invoice.Date
InvoiceDate
NoNone
CustVendCorrectedInvoiceIdNumber of the original invoice that is being 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
CustVendCorrectiveReasonCodeCoded reason for the correction, for example a wrong invoice number, date or address.Enum
CustVendCorrectiveReasonCode (enum)
NoNone
CustVendCorrectiveReasonMethodMethod used for the 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
NoNone
IsSalesPurchCopyingYes/no flag. Its purpose is not stated in the metadata, but the name suggests it relates to copying sales or purchase documents.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 record in the reason references table.Int64
ReasonRefRecID
NoReasonTableRef.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • CustInvoiceTable → CustInvoiceTable

    Join on RefRecId = CustInvoiceTable.RecId, RefTableId = CustInvoiceTable.TableId

    Zero or one CustVendCreditInvoicingTable record → zero or one CustInvoiceTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RefRecId = LedgerJournalTrans.RecId, RefTableId = LedgerJournalTrans.TableId

    Zero or one CustVendCreditInvoicingTable record → zero or one LedgerJournalTrans record

  • PurchTable → PurchTable

    Join on RefRecId = PurchTable.RecId, RefTableId = PurchTable.TableId

    Zero or one CustVendCreditInvoicingTable record → zero or one PurchTable record

  • SalesTable → SalesTable

    Join on RefRecId = SalesTable.RecId, RefTableId = SalesTable.TableId

    Zero or one CustVendCreditInvoicingTable record → zero or one SalesTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonRefRecID = ReasonTableRef.RecId

    Many CustVendCreditInvoicingTable records → zero or one ReasonTableRef record

Get this data out

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

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

Email sales@drdynamics.co.uk