Table

RetailEodStatementPaymentJournalTable

Statement - Payment Journal

Links a retail statement to the payment journal and customer invoice used for it. It also holds the settlement type. It has no defined key.

Table name
RetailEodStatementPaymentJournalTable
Module
Commerce transactions and orders
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
RetailEod

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRecIdSystem record ID of the customer invoice journal linked to the statement.Int64
RefRecId
NoCustInvoiceJour.RecIdNone
JournalNumLedger journal number linked to the statement. It points to the ledger journal.String (20)
LedgerJournalId
YesLedgerJournalTable.JournalNumNone
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
SettlementTypeSettlement type: None, Open transactions or Designated transactions.Enum
SettlementType (enum)
NoNone
StatementIdStatement number. It points to the statement journal and the statement record.String (20)
RetailStatementId
YesRetailStatementJour.statementIdRetailStatementTable.statementIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • RetailStatementTable → RetailStatementTable

    Join on StatementId = RetailStatementTable.statementId

    Many RetailEodStatementPaymentJournalTable records → exactly one RetailStatementTable record

  • LedgerJournalTable → LedgerJournalTable

    Join on JournalNum = LedgerJournalTable.JournalNum

    Cardinality not set in the metadata.

  • CustInvoiceJour → CustInvoiceJour

    Join on InvoiceRecId = CustInvoiceJour.RecId

    Cardinality not set in the metadata.

  • RetailStatementJour → RetailStatementJour

    Join on StatementId = RetailStatementJour.statementId

    Many RetailEodStatementPaymentJournalTable records → zero or one RetailStatementJour record

Get this data out

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

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

Email sales@drdynamics.co.uk