salesPrice resource type
Represents a sales price 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 salesPrices | salesPrices | Gets a salesPrices object. |
Properties
| Property | Type | Description | Max Length |
|---|---|---|---|
| 🔑 entryNo | Integer | The unique entry number of the salesPrices. Non-editable. | |
| sourceType | NAV.PriceSourceType | Specifies the source type for the price calculation, can be "All", "All Customers", "Customer", "Contact", "Campaign". Non-editable. | |
| sourceNumber | String | Specifies the number matching the source type. For example, the customer number for the source type "Customer". Non-editable. | 20 |
| assetType | NAV.PriceAssetType | Specifies the asset type for the price calculation, can be "Item" or "Resource" | |
| assetNumber | String | Specifies the number matching the asset type. For example, the item number for the asset type "Item". Non-editable. | 20 |
| variantCode | String | The variant's code. Non-editable. Non-editable. | 10 |
| pricesIncludeTax | Boolean | Specifies whether the prices include Tax or not. Non-editable. | |
| unitOfMeasure | string | Specifies the unit of measure of the asset record. Non-editable. | 10 |
| campaignNumber | string | Specifies the campaign of the asset record. Non-editable. | 20 |
| quantity | Decimal | Specifies the quantity of the asset record. Non-editable. | |
| unitPrice | Decimal | Specifies the price for one unit of the asset record. Non-editable. | |
| unitCostLCY | Decimal | Specifies the cost for one unit of the asset record. Non-editable. | |
| lineDiscount | Decimal | Specifies the discount for one unit of the asset record. Non-editable. | |
| unitListPrice | Decimal | Specifies the unit list price for one unit of the item. Non-editable. |