Table

VendPromissoryNoteTrans

Promissory note lines

Lines of vendor promissory notes. Each line holds an amount, currency, dates, status and voucher for a note. It links to the promissory note journal, the vendor and the bank account the note was remitted to. It has no defined key.

Table name
VendPromissoryNoteTrans
Module
Bank
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
VendPromissoryNote
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountCurAmount of the line in the transaction currency.Real
AmountCur
NoNone
BankPromissoryNoteNumPromissory note number, which relates to the promissory note table.String (20)
BankPromissoryNoteNum
NoNone
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
CurrencyCodeCurrency code of the line, linked to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DueDateDue date of the note line.Date
DueDate
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PromissoryNoteIdID of the promissory note this line belongs to, linked to the promissory note journal.String (20)
VendPromissoryNoteID
YesVendPromissoryNoteJour.PromissoryNoteIdNone
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
RemittedtoBankAccountIdBank account to which the note was remitted, linked to the bank account record.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
SeqNumSequence number of the line.Integer
CustVendNegInstSeqNum
NoNone
StatusStage of the note at this line, for example drawn, honored or endorsed.Enum
VendPromissoryNoteStatus
CustVendNegInstStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateTransaction date of the line.Date
TransDate
NoNone
VendAccountVendor account linked to the line, pointing to the vendor record.String (20)
VendAccount
NoVendTable.AccountNumNone
VoucherVoucher number linked to the line.String (20)
Voucher
NoNone

Indexes (1)

Relations (5)

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

  • BankAccountTable → BankAccountTable

    Join on RemittedtoBankAccountId = BankAccountTable.AccountID

    Many VendPromissoryNoteTrans records → zero or one BankAccountTable record

  • BankPromissoryNoteTable → BankPromissoryNoteTable

    Join on BankPromissoryNoteNum = BankPromissoryNoteTable.PromissoryNoteNum

    Many VendPromissoryNoteTrans records → zero or one BankPromissoryNoteTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many VendPromissoryNoteTrans records → zero or one Currency record

  • VendPromissoryNoteJour → VendPromissoryNoteJour

    Join on PromissoryNoteId = VendPromissoryNoteJour.PromissoryNoteId

    Many VendPromissoryNoteTrans records → exactly one VendPromissoryNoteJour record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many VendPromissoryNoteTrans records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk