I'am writting an order editor, and can figure out how to make DW recalculate the total price, when i change the quantity on the orderline object. Any suggestions?
Iam using the 'Ribbon Extensobility' approach :)
Order order = new Order(OrderEdit.OrderID);
OrderLineCollection col = order.OrderLines;
foreach(OrderLine line in col)
{
line.Quantity = 2;
line.Save();
}
order.Save();