public ShipmentFacts(SalesOrder salesOrder, InventoryItem item, int shipQty, string lineItemIdentifier, OrderAllocationDetails allocationDetails) { SalesOrder = salesOrder; Item = item; ShipQty = shipQty; LineItemIdentifier = lineItemIdentifier; AllocationDetails = allocationDetails; }
private void Session_OrderChanged(OrderAllocationDetails obj) { if (obj != null) { currentOrderText.Text = obj.OrderIdentifier; } else { currentOrderText.Text = ""; } }
public Order ChangeOrder(OrderAllocationDetails order) { CurrentOrder = order; if (OrderChanged != null) { OrderChanged(CurrentOrder); } if (CurrentOrder == null) { return(null); } return(CurrentOrder.SalesOrder.Order); }