Show / Hide Table of Contents

    GetPriceInfo

    Command, Introduced in version 22.6, Obsolete since version 25.5 (Use GetPriceListPrice or GetCustomerPrice instead)

    POST https://localhost:8001/sv/001.1/api/v1/Sales/SalesPrices/GetPriceInfo
    

    Calculates sales price information for a given part and price list.

    Returns PriceInfo

    Required permission

    Show part
    

    Properties

    Name Type Summary Introduced in
    PartId Int64 The business key identifier of the part to calculate price information for.

    • Mandatory
    • References Parts
    PriceListId Int64 The business key identifier of the price list to calculate price information for.

    • Mandatory
    • References PriceLists
    UnitId Int64? The business key identifier of the unit to use when calculating.

    • Standard unit on the part by default
    • References Units
    CurrencyId Int64? The business key identifier of the currency to use when calculating.

    • The currency on the price list by default
    • References Currencies
    QuantityInUnit Decimal The quantity to calculate price for.

    • Mandatory

    Example

    {
      "PartId": 0,
      "PriceListId": 0,
      "UnitId": null,
      "CurrencyId": null,
      "QuantityInUnit": 0.0
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB