Example #1
0
        private void printLpnLabelButton_Click(object sender, EventArgs e)
        {
            var shipment = packlistContentsView.GetFocusedRow() as Shipment;

            if (shipment != null &&
                Session.CurrentConfiguration.ShipmentAllocationInstance.PrintShipmentLabel)
            {
                LabelPrinter.PrintDellLpnLabel(shipment.LineItemIdentifier, shipment.PartNumber);
            }
        }
Example #2
0
        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);
            }
        }