Exemple #1
0
        public int GetWhseActivityHeader()
        {
            fmPickList pl = new fmPickList();

            PickList [] PickOrderHeader = pl.ReturnOrder(pickorder);

            if (PickOrderHeader.Count() > 0)
            {
                WarehouseActivityHeaderList.Add(new WarehouseActivityHeader(2, PickOrderHeader.FirstOrDefault().No, PickOrderHeader.FirstOrDefault().Location_Code, PickOrderHeader.FirstOrDefault().Assigned_User_ID, PickOrderHeader.FirstOrDefault().No_of_Lines));
            }

            return(PickOrderHeader.Count());
        }
Exemple #2
0
        private void btnPick_Click(object sender, EventArgs e)
        {
            fmPickList pl = new fmPickList();

            if (pl.ReturnNoOfOrders(Globals.theWinlogon) > 0)
            {
                pl.ShowDialog(Globals.theWinlogon);
            }
            else
            {
                if (pl.ReturnNoOfOrders("") > 0)
                {
                    pl.ShowDialog("");
                }
                else
                {
                    fmWarehouseShipmentHeaderList sl = new fmWarehouseShipmentHeaderList();
                    sl.ShowDialog();
                }
            }
        }