Table

StatisticsOnInvoicePaymentAccountEntry

Payment ledger account entry

Ledger account entry lines for a payment schedule record in the invoice statistics. Each row links a settlement to a general journal account entry. It holds the main account with amounts and tax amounts.

Table name
StatisticsOnInvoicePaymentAccountEntry
Module
Cross-module and platform
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAccountingAmount in accounting currency.Real
AmountMST
NoNone
AmountTransactionalAmount in the transaction currency.Real
AmountCur
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
GeneralJournalAccountEntryPoints to the general journal account entry.Int64
RefRecId
NoGeneralJournalAccountEntry.RecIdNone
MainAccountNumMain account number of the entry.String (20)
MainAccountNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentSchedulePoints to the settlement (payment schedule) record this entry belongs to.Int64
StatisticsOnInvoicePaymentScheduleRecId
NoStatisticsOnInvoicePaymentSchedule.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
TaxAmountAccountingTax amount in accounting currency.Real
AmountMST
NoNone
TaxAmountTransactionalTax amount in the transaction currency.Real
AmountCur
NoNone

Indexes (1)

Relations (2)

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

  • GeneralJournalAccountEntry → GeneralJournalAccountEntry

    Join on GeneralJournalAccountEntry = GeneralJournalAccountEntry.RecId

    Many StatisticsOnInvoicePaymentAccountEntry records → exactly one GeneralJournalAccountEntry record

  • StatisticsOnInvoicePaymentSchedule → StatisticsOnInvoicePaymentSchedule

    Join on PaymentSchedule = StatisticsOnInvoicePaymentSchedule.RecId

    Many StatisticsOnInvoicePaymentAccountEntry records → exactly one StatisticsOnInvoicePaymentSchedule record

Get this data out

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

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

Email sales@drdynamics.co.uk