private void Session_ItemShipped(ShippingSession obj) { ClearFields(); packlistContentsGrid.DataSource = obj.CurrentPacklist.Shipments; packlistQtyText.Text = obj.CurrentPacklist.Shipments.Count.ToString(); SearchOrders(); }
void ShippingSession_ItemShipped(ShippingSession obj) { IShipmentAllocation allocationMethod = CurrentConfiguration.ShipmentAllocationInstance; if (allocationMethod.PrintShipmentLabel) { //TODO: EWWWWWWWWW. Clean this junk up string lpn = allocationMethod.ShipmentLabelValues[0].ToString(); string partNumber = allocationMethod.ShipmentLabelValues[1].ToString(); LabelPrinter.PrintDellLpnLabel(lpn, partNumber); } if (CurrentConfiguration.ShipmentAllocationInstance.AutoAllocateItems) { ChangeOrder(null); } }
private void Initialize() { Session = new ShippingSession(); shopfloorlineLookUp.Properties.DataSource = Session.Shopfloorlines; }