Table

CustConsInvoice_JP

Consolidated invoice for customer

Holds consolidated invoices for customers, used for Japan. Each record has a consolidation ID, dates, amounts, status and a link to the customer. It can also link to a posted customer transaction and a ledger journal. The key is the consolidation ID.

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

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ConsIdID of the consolidated invoice.String (20)
CustConsId_JP
YesCustConsInvoiceEntityCustConsInvoiceEntity
AdjustAmountMSTAdjustment amount for the consolidated invoice.Real
CustVendConsAdjustAmountMST_JP
NoCustConsInvoiceEntity
ConsDateDate of the consolidation.Date
CustVendConsDate_JP
YesCustConsInvoiceEntity
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
CustConsInvoice_JPReference to another consolidated invoice record.Int64
CustVendConsRefRecId_JP
NoCustConsInvoice_JP.RecIdNone
CustTableCustomer account the invoice belongs to.String (20)
CustAccount
YesCustTable.AccountNumCustConsInvoiceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDateDue date of the consolidated invoice.Date
DueDate
YesCustConsInvoiceEntity
ExecutionDateExecution date of the consolidated invoice.Date
CustVendExecutionDate_JP
YesCustConsInvoiceEntity
InvoiceAmountMSTInvoice amount within the consolidation period.Real
CustVendConsInvoiceAmountMST_JP
NoCustConsInvoiceEntity
JournalNumNumber of the ledger journal batch.String (20)
LedgerJournalId
NoLedgerJournalTable.JournalNumNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PaidAmountMSTAmount that was paid before.Real
CustVendConsPaidAmountMST_JP
NoCustConsInvoiceEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymModeMethod of payment.String
PaymMode
NoNone
PaymTermTerms of payment for the invoice.String (100)
PaymTermId
YesPaymTerm.PaymTermIdCustConsInvoiceEntity
PostedYes/no flag showing whether the invoice is posted.Enum
NoYes (enum)
NoNone
PostedCustTransCustomer transaction linked to the posting. Points to a customer transaction record.Int64
RefRecId
NoCustTrans.RecIdNone
PreAmountMSTAmount of the previous invoice.Real
CustVendConsPreAmountMST_JP
NoCustConsInvoiceEntity
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
StatusStatus of the consolidated invoice, such as unconfirmed, confirmed or settled.Enum
CustVendConsInvoiceStatus_JP (enum)
NoCustConsInvoiceEntity
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
TaxAmountMSTSales tax amount.Real
CustVendConsTaxAmountMST_JP
NoCustConsInvoiceEntity

Indexes (7)

Relations (5)

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

  • CustConsInvoice_JP → CustConsInvoice_JP

    Join on CustConsInvoice_JP = CustConsInvoice_JP.RecId

    Many CustConsInvoice_JP records → zero or one CustConsInvoice_JP record

  • CustTable → CustTable

    Join on CustTable = CustTable.AccountNum

    Many CustConsInvoice_JP records → exactly one CustTable record

  • PaymTerm → PaymTerm

    Join on PaymTerm = PaymTerm.PaymTermId

    Many CustConsInvoice_JP records → exactly one PaymTerm record

  • CustTrans → CustTrans

    Join on PostedCustTrans = CustTrans.RecId

    Cardinality not set in the metadata.

  • LedgerJournalTable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Many CustConsInvoice_JP records → zero or one LedgerJournalTable record

Get this data out

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

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

Email sales@drdynamics.co.uk