Show / Hide Table of Contents

    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

    • Mandatory
    CustomerId Int64 The business key identifier of the customer to calculate sales price information for.

    References Customers

    • Mandatory
    UnitId Int64 The business key identifier of the unit to use for the part when calculating.

    References Units

    • Mandatory
    OrderTypeId Int64? The business key identifier of the customer order type to use when calculating.

    References CustomerOrderTypes

    • Calculated by MONITOR by default
    CurrencyId Int64? The business key identifier of the currency to use when calculating.

    References Currencies

    • The customer's currency by default
    QuantityInUnit Decimal The quantity to calculate price for.

    • Mandatory
    UnitConversionFactor Decimal? Specifies the unit conversion factor to use as override when calculating.

    • 1 by default
    UseExtendedResult Boolean Specifies if extended price data should be calculated.

    • Mandatory

    Example

    {
      "PartId": 0,
      "CustomerId": 0,
      "UnitId": 0,
      "OrderTypeId": null,
      "CurrencyId": null,
      "QuantityInUnit": 0.0,
      "UnitConversionFactor": null,
      "UseExtendedResult": false
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB