Table

CustConsInvoiceHistory_JP

Holds history records for consolidated customer invoices, used for Japan. Each record links to a consolidated invoice and to a ledger journal. It also shows whether the entry was reversed and its status.

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

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ConsInvoiceRecIdLink to the consolidated customer invoice this history record belongs to.Int64
RefRecId
NoCustConsInvoice_JP.RecIdNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
JournalNumNumber of the ledger journal linked to this history record.String (20)
JournalId
YesLedgerJournalTable.JournalNumNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
ReversalVoucherVoucher number of the reversal.String (20)
Voucher
NoNone
ReversedYes or no flag showing whether the entry was reversed.Enum
NoYes (enum)
NoNone
StatusStatus of the history record: In progress or Completed.Enum
CustVendConsInvoiceHistoryStatus_JP (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • CustConsInvoice_JP → CustConsInvoice_JP

    Join on ConsInvoiceRecId = CustConsInvoice_JP.RecId

    Cardinality not set in the metadata.

  • LedgerJournalTable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk