Table
CustBillOfExchangeInvoice
Bill of exchange invoices
Lists the customer invoices that are covered by a bill of exchange. Each record ties a bill ID to one invoice, with the customer, amounts, dates and vouchers. It links to the bill of exchange journal and to customer transactions.
- Table name
CustBillOfExchangeInvoice- Module
Accounts receivable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
CustBillOfExchange- Primary index
BillOfExchangeInvoiceIdx- Replacement key
None- Key fields
BillOfExchangeId, InvoiceId, RecId- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BillOfExchangeIdID of the bill of exchange in the bill of exchange journal. | String (20)CustBillOfExchangeID | Yes | CustBillOfExchangeJour.BillOfExchangeId | None |
InvoiceIdInvoice number, linked to a customer transaction. | String (50)VendInvoiceId | Yes | 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 record. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DueDateDate on which the invoice is due. | DateDueDate | No | None | |
InvoiceAccountNumCustomer account the invoice belongs to. | String (20)CustAccount | No | CustTable.AccountNum | None |
InvoiceAmountCurGross invoice amount in transaction currency. | RealAmountCur | No | None | |
InvoiceAmountMSTInvoice amount in accounting currency. | RealAmountMST | No | None | |
InvoiceCompanyCompany that holds the invoice transaction. | StringCompanyId | No | None | |
InvoiceDateDate of the invoice. | DateInvoiceDate | No | None | |
InvoiceVoucherVoucher number of the invoice. | 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 | |
RecipientAccountNumCustomer account of the recipient of the bill. | String (20)CustAccount | No | CustTable.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 of the record. | String (20)Voucher | No | None |
Indexes (1)
BillOfExchangeInvoiceIdxPrimary indexBillOfExchangeId,InvoiceId,RecIdUnique.
Relations (6)
Each relation joins CustBillOfExchangeInvoice to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustBillOfExchangeInvoice records → zero or one Currency record
CustBillOfExchangeJour→CustBillOfExchangeJourJoin on
BillOfExchangeId = CustBillOfExchangeJour.BillOfExchangeIdMany CustBillOfExchangeInvoice records → exactly one CustBillOfExchangeJour record
CustTable→CustTableJoin on
RecipientAccountNum = CustTable.AccountNumMany CustBillOfExchangeInvoice records → zero or one CustTable record
CustTable_InvoiceAccountNum→CustTableJoin on
InvoiceAccountNum = CustTable.AccountNumMany CustBillOfExchangeInvoice records → zero or one CustTable record
CustTrans→CustTransJoin on
BillOfExchangeId = CustTrans.BillOfExchangeIDMany CustBillOfExchangeInvoice records → exactly one CustTrans record
CustTransInvoiceId→CustTransJoin on
InvoiceCompany = CustTrans.dataAreaId,InvoiceId = CustTrans.InvoiceMany CustBillOfExchangeInvoice records → exactly one CustTrans record
Get this data out
No public entity reads from CustBillOfExchangeInvoice. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustBillOfExchangeInvoice in a report, an integration or a migration? Talk to Dr Dynamics.