Table
VendPromissoryNoteInvoice
Promissory note invoices
Links vendor invoices to promissory notes. Each record holds the invoice, its amounts, dates and vouchers, and the note it relates to. It points to the promissory note journal, the vendor, the currency and vendor transactions.
- Table name
VendPromissoryNoteInvoice- Module
Bank- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
VendPromissoryNote- Primary index
PromissoryNoteInvoiceIdx- Replacement key
None- Key fields
PromissoryNoteId, RecId- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PromissoryNoteIdID of the promissory note, linked to the promissory note journal. | String (20)VendPromissoryNoteID | Yes | VendPromissoryNoteJour.PromissoryNoteId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
CurrencyCodeCurrency code of the invoice amount, linked to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDateDate by which the invoice is due. | DateDueDate | No | None | |
InvoiceAccountNumVendor account that the invoice belongs to, linked to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
InvoiceAmountCurGross invoice amount in the transaction currency. | RealAmountCur | No | None | |
InvoiceAmountMSTInvoice amount in the accounting currency. | RealAmountMST | No | None | |
InvoiceCompanyCompany in which the related vendor invoice transaction exists. | StringCompanyId | No | None | |
InvoiceDateDate shown on the invoice. | DateInvoiceDate | No | None | |
InvoiceIdInvoice number, which relates to a vendor transaction. | String (50)VendInvoiceId | No | None | |
InvoiceVoucherVoucher number of the invoice posting. | String (20)Voucher | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecipientAccountNumVendor account that receives the promissory note, linked to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateTransaction date of the record. | DateTransDate | No | None | |
VoucherVoucher number linked to this record. | String (20)Voucher | No | None |
Indexes (2)
PromissoryNoteInvoiceIdxPrimary indexUnique.
InvoiceIdxNot unique.
Relations (6)
Each relation joins VendPromissoryNoteInvoice to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany VendPromissoryNoteInvoice records → zero or one Currency record
VendPromissoryNoteJour→VendPromissoryNoteJourJoin on
PromissoryNoteId = VendPromissoryNoteJour.PromissoryNoteIdMany VendPromissoryNoteInvoice records → exactly one VendPromissoryNoteJour record
VendTable_InvoiceAccountNum→VendTableJoin on
InvoiceAccountNum = VendTable.AccountNumMany VendPromissoryNoteInvoice records → zero or one VendTable record
VendTable_RecipientAccountNum→VendTableJoin on
RecipientAccountNum = VendTable.AccountNumMany VendPromissoryNoteInvoice records → zero or one VendTable record
VendTrans→VendTransJoin on
PromissoryNoteId = VendTrans.PromissoryNoteIDMany VendPromissoryNoteInvoice records → exactly one VendTrans record
VendTransInvoiceId→VendTransJoin on
InvoiceCompany = VendTrans.dataAreaId,InvoiceId = VendTrans.InvoiceMany VendPromissoryNoteInvoice records → zero or one VendTrans record
Get this data out
No public entity reads from VendPromissoryNoteInvoice. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendPromissoryNoteInvoice in a report, an integration or a migration? Talk to Dr Dynamics.