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 descriptionType / EDT / enumMandatoryReferencesIn public entities
origSalesIdOriginal sales order the confirmation belongs to.String (20)
SalesIdOrig
NoSalesTable.SalesIdNone
confirmDateDate of the sales order confirmation.Date
TransDate
YesNone
confirmIdIdentifier of the sales order confirmation.String (20)
ConfirmId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
deliveryNameName of the delivery recipient.String (160)
CustName
NoNone
DeliveryPostalAddressDelivery address. Points to an address record by its system record ID.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
invoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
orderAccountCustomer account that placed the order.String (20)
CustAccount
NoCustTable.AccountNumNone
parmIdIdentifier of the parameter set used when the document was created.String (20)
ParmId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
salesIdSales order number linked to the confirmation.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (7)

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

  • CustConfirmJour → CustConfirmJour

    Join on salesId = CustConfirmJour.SalesId, confirmId = CustConfirmJour.ConfirmId, confirmDate = CustConfirmJour.ConfirmDate

    Many CustConfirmSalesLink records → exactly one CustConfirmJour record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many CustConfirmSalesLink records → zero or one LogisticsPostalAddress record

  • InvoiceCustomer → CustTable

    Join on invoiceAccount = CustTable.AccountNum

    Many CustConfirmSalesLink records → zero or one CustTable record

  • OrderCustomer → CustTable

    Join on orderAccount = CustTable.AccountNum

    Many CustConfirmSalesLink records → zero or one CustTable record

  • OriginSalesTable → SalesTable

    Join on origSalesId = SalesTable.SalesId

    Many CustConfirmSalesLink records → zero or one SalesTable record

  • RenameSalesTable → SalesTable

    Join on salesId = SalesTable.SalesId

    Cardinality not set in the metadata.

  • SalesQuotationTable → SalesQuotationTable

    Join on salesId = SalesQuotationTable.SalesIdRef

    Many 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.

Email sales@drdynamics.co.uk