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
Method | Return Type | Description |
---|---|---|
GET salesQuoteLine | salesQuoteLine | Gets a sales quote line object. |
DELETE salesQuoteLine | none | Deletes a sales quote line object. |
POST salesQuoteLine | salesQuoteLine | Creates a sales quote line object. |
PATCH salesQuoteLine | salesQuoteLine | Updates a sales quote line object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
salesQuote | salesQuote | Gets the salesquote of the salesQuoteLine. |
item | item | Gets the item of the salesQuoteLine. |
account | account | Gets the account of the salesQuoteLine. |
unitOfMeasure | unitOfMeasure | Gets the unitofmeasure of the salesQuoteLine. |
itemVariant | itemVariant | Gets the itemvariant of the salesQuoteLine. |
dimensionSetLines | dimensionSetLines | Gets the dimensionsetlines of the salesQuoteLine. |
location | location | Gets the location of the salesQuoteLine. |
Properties
Property | Type | Description |
---|---|---|
id | GUID | The unique ID of the sales quote line. Non-editable. |
documentId | GUID | The ID of the parent sales quote line. |
sequence | integer | The line sequence number. |
itemId | GUID | The ID of the item in the sales quote line. |
accountId | GUID | The id of the account that the sales quote line is related to. |
lineType | NAV.invoiceLineAggLineType | The type of the sales quote line. It can be "Comment", "Account", "Item", "Resource" Value", "Fixed Asset" or "Charge". |
lineObjectNumber | string | The number of the object (account or item) of the sales quote line. |
description | string | Specifies the description of the sales quote line. |
description2 | string | |
unitOfMeasureId | GUID | The ID of unit of measure for the sales quote line. |
unitOfMeasureCode | string | The code of unit of measure for the sales quote line. |
unitPrice | decimal | Specifies the price for one unit of the item in the specified sales quote line. |
quantity | decimal | The quantity of the item in the sales quote line. |
discountAmount | decimal | The sales quote line discount amount. |
discountPercent | decimal | The line discount percent. |
discountAppliedBeforeTax | boolean | Specifies whether the discount is applied before tax. |
amountExcludingTax | decimal | The line amount excluding the tax. Read-Only. |
taxCode | string | The tax code for the line. |
taxPercent | decimal | The tax percent for the line. Read-Only. |
totalTaxAmount | decimal | The total tax amount for the sales quote line. Read-Only. |
amountIncludingTax | decimal | The total amount for the line including tax. Read-Only. |
netAmount | decimal | The net amount is the amount including all discounts (taken from the sales quote line). Read-Only. |
netTaxAmount | decimal | The net tax amount is the tax amount calculated from net amount. Read-Only. |
netAmountIncludingTax | decimal | The net amount including tax is the total net amount including tax. Read-Only. |
itemVariantId | GUID | The ID of the item variant in the sales quote line. |
locationId | GUID |
JSON representation
Here is 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"
}
See Also
GET salesQuoteLine
DELETE salesQuoteLine
POST salesQuoteLine
PATCH salesQuoteLine
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour