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

            if (OrderChanged != null)
            {
                OrderChanged(CurrentOrder);
            }

            if (CurrentOrder == null)
            {
                return(null);
            }

            return(CurrentOrder.SalesOrder.Order);
        }