CustomerOrderOrderRowDiscounts
Queryable, Introduced in version 24.8
GET https://localhost:8001/sv/001.1/api/v1/Sales/CustomerOrderOrderRowDiscounts
Represents a discount row for a customer order row.
GUID
9280A5CE-3778-4C70-9238-8280AD77A8DB
Required permission
Show customer orders
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
Id | Int64 | The business key identifier of the discount row. |
|
OrderRowId | Int64 | The business key identifier of the discount row's customer order row.
|
|
DiscountId | Int64? | The business key identifier of the discount row's discount.
|
|
AsPercent | Decimal? | The discount amount as percent of the discount row. |
|
DiscountLockedFromAutomaticChanges | Boolean | Specifies if the discount is locked from automatic changes. |
|
AsAmount | Decimal? | The discount amount of the discount row. |
|
AsAmountCurrencyId | Int64? | The business key identifier of the discount row's amount currency.
|
|
DiscountType | Int32 | The discount type of the discount row.
|
|
GrossPrice | Decimal? | The gross price of the discount row. |
|
GrossPriceCurrencyId | Int64? | The business key identifier of the discount row's gross price currency.
|
|
NetPrice | Decimal? | The net price of the discount row. |
|
NetPriceCurrencyId | Int64? | The business key identifier of the discount row's net price currency.
|
|
DiscountCalculationType | Int32 | The discount calculation type of the discount row.
|
|
Priority | Int32 | The priority of the discount row. |
|
ReplacesDiscountFieldOnOrderRow | Boolean | Specifies if this discount row represents the discount which could be applied to the discount field on the order row itself before order multiple discounts on order rows were introduced. |
Example
{
"Id": 0,
"OrderRowId": 0,
"DiscountId": null,
"AsPercent": null,
"DiscountLockedFromAutomaticChanges": false,
"AsAmount": null,
"AsAmountCurrencyId": null,
"DiscountType": 0,
"GrossPrice": null,
"GrossPriceCurrencyId": null,
"NetPrice": null,
"NetPriceCurrencyId": null,
"DiscountCalculationType": 0,
"Priority": 0,
"ReplacesDiscountFieldOnOrderRow": false
}