Table

WarrantiedRelationSalesLine

Warrantied relation for sales line.

Links a sales line that has a warranty to the line being covered by it. Each side is identified by order type, sales or quotation ID, line number and lot ID. Each side can be a sales order, a sales quotation or a third-party sale. A relation value shows whether the link was added or voided.

Table name
WarrantiedRelationSalesLine
Module
Accounts receivable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustAccountCustomer account of the order.String (20)
CustAccount
NoWarrantiedRelationSalesLineEntity
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
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
RelationWhether the link is added or voided.Enum
WarrantiedRelation (enum)
NoWarrantiedRelationSalesLineEntity
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
WarrantiedInventTransIdLot ID of the covered line.String (20)
WarrantyInventTransIdWarrantied
NoSalesLine.InventTransIdSalesQuotationLine.InventTransIdWarrantiedRelationSalesLineEntity
WarrantiedItemIdItem number of the covered item.String (20)
WarrantiedItemId
NoWarrantiedRelationSalesLineEntity
WarrantiedOrderTypeType of the order being covered: sales order, sales quotation or third-party sales.Enum
WarrantiedOrderType
WarrantiedRelationOrderType (enum)
NoWarrantiedRelationSalesLineEntity
WarrantiedSalesIdSales order or quotation ID of the covered line.String (20)
WarrantiedSalesId
NoSalesLine.SalesIdSalesQuotationLine.QuotationIdWarrantiedRelationSalesLineEntity
WarrantiedSalesLineNumLine number of the covered line.Real
WarrantySalesLineNumWarrantied
NoSalesLine.LineNumSalesQuotationLine.LineNumWarrantiedRelationSalesLineEntity
WarrantiedSerialNumberBatch or serial number of the covered item.String (20)
WarrantiedSerialNumber
NoWarrantiedRelationSalesLineEntity
WarrantyInventTransIdLot ID of the warranty line.String (20)
WarrantyInventTransIdWarranty
NoSalesLine.InventTransIdSalesQuotationLine.InventTransIdWarrantiedRelationSalesLineEntity
WarrantyItemIdItem number of the warranty item.String (20)
WarrantyItemId
NoWarrantiedRelationSalesLineEntity
WarrantyOrderTypeType of the order that holds the warranty: sales order, sales quotation or third-party sales.Enum
WarrantyOrderType
WarrantiedRelationOrderType (enum)
NoWarrantiedRelationSalesLineEntity
WarrantySalesIdSales order or quotation ID of the warranty line.String (20)
WarrantySalesId
NoSalesLine.SalesIdSalesQuotationLine.QuotationIdWarrantiedRelationSalesLineEntity
WarrantySalesLineNumLine number of the warranty line.Real
WarrantySalesLineNumWarranty
NoSalesLine.LineNumSalesQuotationLine.LineNumWarrantiedRelationSalesLineEntity

Indexes (2)

Relations (4)

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

  • SalesLineWarrantied → SalesLine

    Join on WarrantiedSalesId = SalesLine.SalesId, WarrantiedSalesLineNum = SalesLine.LineNum, WarrantiedInventTransId = SalesLine.InventTransId

    Many WarrantiedRelationSalesLine records → zero or one SalesLine record

  • SalesLineWarranty → SalesLine

    Join on WarrantySalesId = SalesLine.SalesId, WarrantySalesLineNum = SalesLine.LineNum, WarrantyInventTransId = SalesLine.InventTransId

    Many WarrantiedRelationSalesLine records → zero or one SalesLine record

  • QuotationLineWarrantied → SalesQuotationLine

    Join on WarrantiedSalesId = SalesQuotationLine.QuotationId, WarrantiedSalesLineNum = SalesQuotationLine.LineNum, WarrantiedInventTransId = SalesQuotationLine.InventTransId

    Many WarrantiedRelationSalesLine records → zero or one SalesQuotationLine record

  • QuotationLineWarranty → SalesQuotationLine

    Join on WarrantySalesId = SalesQuotationLine.QuotationId, WarrantySalesLineNum = SalesQuotationLine.LineNum, WarrantyInventTransId = SalesQuotationLine.InventTransId

    Many WarrantiedRelationSalesLine records → zero or one SalesQuotationLine record

Get this data out

Tables are not exposed directly. These public entities read from WarrantiedRelationSalesLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk