Table

CustPrenote

Customer prenotes

Holds customer prenotes. Each record links a customer account and a customer bank account to a company bank, and stores the date when the prenote was approved.

Table name
CustPrenote
Module
Bank
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Prenotes
Primary index
RecIdx
Replacement key
None
Key fields
RecId
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
BankAccountIdCompany bank account used for the prenote.String
CompanyBankAccount
NoBankAccountTable.AccountIDNone
CustAccountCustomer account the prenote is for.String (20)
CustAccount
NoCustTable.AccountNumNone
CustAccountIdCustomer bank account used for the prenote.String
CustBankAccountId
NoCustBankAccount.AccountIDNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrenoteApprovedDateDate and time when the prenote was approved.UtcDateTime
UTCTimestamp
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

Indexes (2)

Relations (3)

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

  • BankAccount → BankAccountTable

    Join on BankAccountId = BankAccountTable.AccountID

    Many CustPrenote records → zero or one BankAccountTable record

  • Cust → CustBankAccount

    Join on CustAccountId = CustBankAccount.AccountID, CustAccount = CustBankAccount.CustAccount

    Many CustPrenote records → zero or one CustBankAccount record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many CustPrenote records → zero or one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk