GetPriceInfo
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Sales/CustomerOrders/GetPriceInfo
Calculates sales price information for a given part.
Returns PriceInfo
Required permission
Show part
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
PartId | Int64 | The business key identifier of the part to calculate sales price information for. References Parts
|
|
CustomerId | Int64 | The business key identifier of the customer to calculate sales price information for. References Customers
|
|
UnitId | Int64 | The business key identifier of the unit to use for the part when calculating. References Units
|
|
OrderTypeId | Int64? | The business key identifier of the customer order type to use when calculating. References CustomerOrderTypes
|
|
CurrencyId | Int64? | The business key identifier of the currency to use when calculating. References Currencies
|
|
QuantityInUnit | Decimal | The quantity to calculate price for.
|
|
UnitConversionFactor | Decimal? | Specifies the unit conversion factor to use as override when calculating.
|
|
UseExtendedResult | Boolean | Specifies if extended price data should be calculated.
|
Example
{
"PartId": 0,
"CustomerId": 0,
"UnitId": 0,
"OrderTypeId": null,
"CurrencyId": null,
"QuantityInUnit": 0.0,
"UnitConversionFactor": null,
"UseExtendedResult": false
}