Table
CustConfirmSalesLink
Customer confirmation - sales order relation table
Links a sales order confirmation to its sales order. It also keeps the delivery name and address, and the customer and invoice accounts. The key is the original sales order, confirmation date and confirmation ID.
- Table name
CustConfirmSalesLink- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
origSalesIdx- Key fields
origSalesId, confirmDate, confirmId- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
origSalesIdOriginal sales order the confirmation belongs to. | String (20)SalesIdOrig | No | SalesTable.SalesId | None |
confirmDateDate of the sales order confirmation. | DateTransDate | Yes | None | |
confirmIdIdentifier of the sales order confirmation. | String (20)ConfirmId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
deliveryNameName of the delivery recipient. | String (160)CustName | No | None | |
DeliveryPostalAddressDelivery address. Points to an address record by its system record ID. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
invoiceAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | None |
orderAccountCustomer account that placed the order. | String (20)CustAccount | No | CustTable.AccountNum | None |
parmIdIdentifier of the parameter set used when the document was created. | String (20)ParmId | 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 | |
salesIdSales order number linked to the confirmation. | String (20)SalesIdBase | Yes | SalesTable.SalesId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
origSalesIdxReplacement keyorigSalesId,confirmDate,confirmIdUnique, alternate key.
confirmIdxNot unique.
DeliveryPostalAddressIdxNot unique.
Relations (7)
Each relation joins CustConfirmSalesLink to another table on the fields shown.
CustConfirmJour→CustConfirmJourJoin on
salesId = CustConfirmJour.SalesId,confirmId = CustConfirmJour.ConfirmId,confirmDate = CustConfirmJour.ConfirmDateMany CustConfirmSalesLink records → exactly one CustConfirmJour record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany CustConfirmSalesLink records → zero or one LogisticsPostalAddress record
InvoiceCustomer→CustTableJoin on
invoiceAccount = CustTable.AccountNumMany CustConfirmSalesLink records → zero or one CustTable record
OrderCustomer→CustTableJoin on
orderAccount = CustTable.AccountNumMany CustConfirmSalesLink records → zero or one CustTable record
OriginSalesTable→SalesTableJoin on
origSalesId = SalesTable.SalesIdMany CustConfirmSalesLink records → zero or one SalesTable record
RenameSalesTable→SalesTableJoin on
salesId = SalesTable.SalesIdCardinality not set in the metadata.
SalesQuotationTable→SalesQuotationTableJoin on
salesId = SalesQuotationTable.SalesIdRefMany CustConfirmSalesLink records → zero or one SalesQuotationTable record
Get this data out
No public entity reads from CustConfirmSalesLink. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustConfirmSalesLink in a report, an integration or a migration? Talk to Dr Dynamics.