salesQuoteLine resource type

Represents a sales quote line in Business Central.

Note

For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central.

Methods

MethodReturn TypeDescription
GET salesQuoteLinesalesQuoteLineGets a sales quote line object.
DELETE salesQuoteLinenoneDeletes a sales quote line object.
POST salesQuoteLinesalesQuoteLineCreates a sales quote line object.
PATCH salesQuoteLinesalesQuoteLineUpdates a sales quote line object.
NavigationReturn TypeDescription
salesQuotesalesQuoteGets the salesquote of the salesQuoteLine.
itemitemGets the item of the salesQuoteLine.
accountaccountGets the account of the salesQuoteLine.
unitOfMeasureunitOfMeasureGets the unitofmeasure of the salesQuoteLine.
itemVariantitemVariantGets the itemvariant of the salesQuoteLine.
dimensionSetLinesdimensionSetLinesGets the dimensionsetlines of the salesQuoteLine.
locationlocationGets the location of the salesQuoteLine.

Properties

PropertyTypeDescription
idGUIDThe unique ID of the sales quote line. Non-editable.
documentIdGUIDThe ID of the parent sales quote line.
sequenceintegerThe line sequence number.
itemIdGUIDThe ID of the item in the sales quote line.
accountIdGUIDThe id of the account that the sales quote line is related to.
lineTypeNAV.invoiceLineAggLineTypeThe type of the sales quote line. It can be "Comment", "Account", "Item", "Resource" Value", "Fixed Asset" or "Charge".
lineObjectNumberstringThe number of the object (account or item) of the sales quote line.
descriptionstringSpecifies the description of the sales quote line.
description2string
unitOfMeasureIdGUIDThe ID of unit of measure for the sales quote line.
unitOfMeasureCodestringThe code of unit of measure for the sales quote line.
unitPricedecimalSpecifies the price for one unit of the item in the specified sales quote line.
quantitydecimalThe quantity of the item in the sales quote line.
discountAmountdecimalThe sales quote line discount amount.
discountPercentdecimalThe line discount percent.
discountAppliedBeforeTaxbooleanSpecifies whether the discount is applied before tax.
amountExcludingTaxdecimalThe line amount excluding the tax. Read-Only.
taxCodestringThe tax code for the line.
taxPercentdecimalThe tax percent for the line. Read-Only.
totalTaxAmountdecimalThe total tax amount for the sales quote line. Read-Only.
amountIncludingTaxdecimalThe total amount for the line including tax. Read-Only.
netAmountdecimalThe net amount is the amount including all discounts (taken from the sales quote line). Read-Only.
netTaxAmountdecimalThe net tax amount is the tax amount calculated from net amount. Read-Only.
netAmountIncludingTaxdecimalThe net amount including tax is the total net amount including tax. Read-Only.
itemVariantIdGUIDThe ID of the item variant in the sales quote line.
locationIdGUID

JSON representation

Here's a JSON representation of the salesQuoteLine resource.

{
    "id": "GUID",
    "documentId": "GUID",
    "sequence": "integer",
    "itemId": "GUID",
    "accountId": "GUID",
    "lineType": "NAV.invoiceLineAggLineType",
    "lineObjectNumber": "string",
    "description": "string",
    "description2": "string",
    "unitOfMeasureId": "GUID",
    "unitOfMeasureCode": "string",
    "unitPrice": "decimal",
    "quantity": "decimal",
    "discountAmount": "decimal",
    "discountPercent": "decimal",
    "discountAppliedBeforeTax": "boolean",
    "amountExcludingTax": "decimal",
    "taxCode": "string",
    "taxPercent": "decimal",
    "totalTaxAmount": "decimal",
    "amountIncludingTax": "decimal",
    "netAmount": "decimal",
    "netTaxAmount": "decimal",
    "netAmountIncludingTax": "decimal",
    "itemVariantId": "GUID",
    "locationId": "GUID"
}

GET salesQuoteLine
DELETE salesQuoteLine
POST salesQuoteLine
PATCH salesQuoteLine