Table
BankBillOfExchangeTable
Bill of exchange table
Holds bills of exchange linked to a bank account. Each record has a bill number, status, amount, currency, date and voucher. It links to the bank account, the customer recipient and the bill of exchange journal. The key is bank account, bill number and status.
- Table name
BankBillOfExchangeTable- Module
Bank- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
CustBillOfExchange- Primary index
RecId- Replacement key
AccountNoteIdx- Key fields
BankAccountID, BillOfExchangeNum, DocumentStatus- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BankAccountIDBank account that the bill is linked to. | StringCompanyBankAccountId | Yes | BankAccountTable.AccountID | None |
BillOfExchangeNumNumber that identifies the bill of exchange. | String (20)BankBillOfExchangeNum | Yes | None | |
DocumentStatusStage of the bill, such as created, posted, printed or canceled. | EnumBankBillOfExchangeStatus (enum) | No | None | |
AmountCurAmount of the bill of exchange. | RealAmountCur | No | None | |
BeneficiaryAccountNumCustomer account of the recipient of the bill. | String (20)CustAccount | No | CustTable.AccountNum | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyCodeCurrency of the bill. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CustBillOfExchangeIDPoints to the bill of exchange journal record by its bill ID. | String (20)CustBillOfExchangeID | No | CustBillOfExchangeJour.BillOfExchangeId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
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 | |
TransDateDate of the bill transaction. | DateTransDate | No | None | |
VoucherVoucher number linked to the bill. | String (20)Voucher | No | None |
Indexes (1)
AccountNoteIdxReplacement keyBankAccountID,BillOfExchangeNum,DocumentStatusUnique, alternate key.
Relations (4)
Each relation joins BankBillOfExchangeTable to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
BankAccountID = BankAccountTable.AccountIDMany BankBillOfExchangeTable records → exactly one BankAccountTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany BankBillOfExchangeTable records → zero or one Currency record
CustBillOfExchangeJour→CustBillOfExchangeJourJoin on
CustBillOfExchangeID = CustBillOfExchangeJour.BillOfExchangeIdMany BankBillOfExchangeTable records → zero or one CustBillOfExchangeJour record
CustTable→CustTableJoin on
BeneficiaryAccountNum = CustTable.AccountNumMany BankBillOfExchangeTable records → zero or one CustTable record
Get this data out
No public entity reads from BankBillOfExchangeTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with BankBillOfExchangeTable in a report, an integration or a migration? Talk to Dr Dynamics.