Table

StatisticsOfVendorPaymentsPeriodsVendInvoices_SE

Vendor invoices for a selected period

Lists the vendor invoices behind the payment period statistics for a chosen period, used for Sweden. Each row holds one invoice with its dates, agreed and actual payment periods and payment terms. Rows link to the statistics rows by report period and vendor size category.

Table name
StatisticsOfVendorPaymentsPeriodsVendInvoices_SE
Module
Accounts payable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActualPaymentPeriodInDaysActual payment period, in days.Integer
PaymentPeriodInDays_SE
NoNone
AgreedPaymentPeriodInDaysAgreed payment period, in days.Integer
PaymentPeriodInDays_SE
NoNone
CategoryVendor size group by number of employees. Values are 0-9, 10-49 and 50-249 employees.Enum
VendSizeCategory_SE (enum)
NoStatisticsOfVendorPaymentsPeriodsStats_SE.CategoryNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
DueDateDate by which the invoice is due.Date
DueDate
NoNone
InvoiceAccountVendor account number, linked to the vendor record.String (20)
CustVendAC
NoVendTable.AccountNumNone
InvoiceDateDate of the invoice.Date
TransDate
NoNone
InvoiceIdInvoice number.String (50)
InvoiceId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdTerms of payment, linked to the payment terms record.String (100)
PaymTermId
NoPaymTerm.PaymTermIdNone
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
ReportPeriodRefRecIdReport period that links the invoice to the statistics rows. It is joined together with Category.Int64
RefRecId
NoStatisticsOfVendorPaymentsPeriodsStats_SE.ReportPeriodRefRecIdNone
SelectedDateDate chosen for the statistics calculation.Date
DocumentDate
NoNone
SettlementDateDate on which the invoice was settled.Date
TransDate
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • VendTable → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Cardinality not set in the metadata.

  • StatisticsOfVendorPaymentsPeriodsStats_SE → StatisticsOfVendorPaymentsPeriodsStats_SE

    Join on ReportPeriodRefRecId = StatisticsOfVendorPaymentsPeriodsStats_SE.ReportPeriodRefRecId, Category = StatisticsOfVendorPaymentsPeriodsStats_SE.Category

    Many StatisticsOfVendorPaymentsPeriodsVendInvoices_SE records → exactly one StatisticsOfVendorPaymentsPeriodsStats_SE record

  • PaymTermId → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Zero or one StatisticsOfVendorPaymentsPeriodsVendInvoices_SE record → zero or one PaymTerm record

Get this data out

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

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

Email sales@drdynamics.co.uk