Item prices in item details
When not in the context of a basket, the prices are retrieved using the price logic for the template customer in field “Customer” in M3 BE program 'Warehouse. Open' (MMS005/E), using API OIS345MI.LstPriceMargin.
When in the context of a basket, the prices displayed in the item details panel are retrieved using the full price logic of M3 BE (including agreements) for the specific customer. The price shown is the price the customer will get when the order line is created and is retrieved with API OIS345MI.LstPriceMargin. Also, the price origin is displayed.
If the item has scaled prices set up in 'Sales Price Scale. Open' (OIS024), the scaled prices drop-down menu is available. Here you can see the scaled prices, the price origin and select a quantity that corresponds to a price break. This information is retrieved by using API OIS320MI.LstPrices with parameter “Only relevant prices” (OREP) active. If there are several prices per quantity the best price is listed.
The quantity in the Quantity box is updated when the value in the scaled prices drop-down is changed. If the quantity instead is changed in the Quantity box, the value in scaled prices drop-down menu is changed to reflect the price per unit for the quantity selected.