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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustAccountCustomer account of the order. | String (20)CustAccount | No | WarrantiedRelationSalesLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
RelationWhether the link is added or voided. | EnumWarrantiedRelation (enum) | No | WarrantiedRelationSalesLineEntity | |
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 | |
WarrantiedInventTransIdLot ID of the covered line. | String (20)WarrantyInventTransIdWarrantied | No | SalesLine.InventTransIdSalesQuotationLine.InventTransId | WarrantiedRelationSalesLineEntity |
WarrantiedItemIdItem number of the covered item. | String (20)WarrantiedItemId | No | WarrantiedRelationSalesLineEntity | |
WarrantiedOrderTypeType of the order being covered: sales order, sales quotation or third-party sales. | EnumWarrantiedOrderTypeWarrantiedRelationOrderType (enum) | No | WarrantiedRelationSalesLineEntity | |
WarrantiedSalesIdSales order or quotation ID of the covered line. | String (20)WarrantiedSalesId | No | SalesLine.SalesIdSalesQuotationLine.QuotationId | WarrantiedRelationSalesLineEntity |
WarrantiedSalesLineNumLine number of the covered line. | RealWarrantySalesLineNumWarrantied | No | SalesLine.LineNumSalesQuotationLine.LineNum | WarrantiedRelationSalesLineEntity |
WarrantiedSerialNumberBatch or serial number of the covered item. | String (20)WarrantiedSerialNumber | No | WarrantiedRelationSalesLineEntity | |
WarrantyInventTransIdLot ID of the warranty line. | String (20)WarrantyInventTransIdWarranty | No | SalesLine.InventTransIdSalesQuotationLine.InventTransId | WarrantiedRelationSalesLineEntity |
WarrantyItemIdItem number of the warranty item. | String (20)WarrantyItemId | No | WarrantiedRelationSalesLineEntity | |
WarrantyOrderTypeType of the order that holds the warranty: sales order, sales quotation or third-party sales. | EnumWarrantyOrderTypeWarrantiedRelationOrderType (enum) | No | WarrantiedRelationSalesLineEntity | |
WarrantySalesIdSales order or quotation ID of the warranty line. | String (20)WarrantySalesId | No | SalesLine.SalesIdSalesQuotationLine.QuotationId | WarrantiedRelationSalesLineEntity |
WarrantySalesLineNumLine number of the warranty line. | RealWarrantySalesLineNumWarranty | No | SalesLine.LineNumSalesQuotationLine.LineNum | WarrantiedRelationSalesLineEntity |
Indexes (2)
InventTransIndexWarrantyOrderType,WarrantyInventTransId,WarrantiedSerialNumber,WarrantiedOrderType,WarrantiedInventTransIdUnique.
SalesLineIndexWarrantyOrderType,WarrantySalesId,WarrantySalesLineNum,WarrantiedSerialNumber,WarrantiedOrderType,WarrantiedSalesId,WarrantiedSalesLineNumUnique, alternate key.
Relations (4)
Each relation joins WarrantiedRelationSalesLine to another table on the fields shown.
SalesLineWarrantied→SalesLineJoin on
WarrantiedSalesId = SalesLine.SalesId,WarrantiedSalesLineNum = SalesLine.LineNum,WarrantiedInventTransId = SalesLine.InventTransIdMany WarrantiedRelationSalesLine records → zero or one SalesLine record
SalesLineWarranty→SalesLineJoin on
WarrantySalesId = SalesLine.SalesId,WarrantySalesLineNum = SalesLine.LineNum,WarrantyInventTransId = SalesLine.InventTransIdMany WarrantiedRelationSalesLine records → zero or one SalesLine record
QuotationLineWarrantied→SalesQuotationLineJoin on
WarrantiedSalesId = SalesQuotationLine.QuotationId,WarrantiedSalesLineNum = SalesQuotationLine.LineNum,WarrantiedInventTransId = SalesQuotationLine.InventTransIdMany WarrantiedRelationSalesLine records → zero or one SalesQuotationLine record
QuotationLineWarranty→SalesQuotationLineJoin on
WarrantySalesId = SalesQuotationLine.QuotationId,WarrantySalesLineNum = SalesQuotationLine.LineNum,WarrantyInventTransId = SalesQuotationLine.InventTransIdMany 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.
WarrantiedRelationSalesLineEntity· 13 fields from this table
Need help with WarrantiedRelationSalesLine in a report, an integration or a migration? Talk to Dr Dynamics.