Show / Hide Table of Contents

    QuoteOrderRowDiscounts

    Queryable, Introduced in version 24.8

    GET https://localhost:8001/sv/001.1/api/v1/Sales/QuoteOrderRowDiscounts
    

    Represents a discount row for a quote row.

    GUID

    B95A981B-B37F-4B45-880B-9E6F5ADAB385
    

    Required permission

    Show quote
    

    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 quote row.

    • References QuoteRows
    DiscountId Int64? The business key identifier of the discount row's discount.

    • References Discounts
    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.

    • References Currencies
    DiscountType Int32 The discount type of the discount row.

    • Discount: 0
    • OrderDiscount: 1
    • TotalRowDiscount: 2
    • ProjectDiscount: 3
    • CustomerDiscountOnDiscount: 4 (Introduced in version 25.2)
    • OrderTypeDiscount: 5 (Introduced in version 25.3)
    GrossPrice Decimal? The gross price of the discount row.
    GrossPriceCurrencyId Int64? The business key identifier of the discount row's gross price currency.

    • References Currencies
    NetPrice Decimal? The net price of the discount row.
    NetPriceCurrencyId Int64? The business key identifier of the discount row's net price currency.

    • References Currencies
    DiscountCalculationType Int32 The discount calculation type of the discount row.

    • Percent: 1
    • Amount: 2
    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
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB