コード例 #1
0
        private void toolStripButtonPick_Click(object sender, EventArgs e)
        {
            FrmItemScan FItemScan = new FrmItemScan(cbStockMoveType.SelectedValue.ToString(),
                                                    CompanyID, WarehouseID, UserID, 0, cbStockMoveType.Text);

            FItemScan.ShowDialog();
        }
コード例 #2
0
        private void toolStripButtonRecFloor_Click(object sender, EventArgs e)
        {
            string MType = "PO";
            string MDesc = "Purchase Order";

            if (OrderType.ToUpper() == "SALE")
            {
                MDesc = "Sales Order: " + dgOrder.CurrentRow.Cells["OrderReference"].Value.ToString();
                MType = "PI";
            }
            else
            {
                MDesc = "Purchase Order: " + dgOrder.CurrentRow.Cells["OrderReference"].Value.ToString();
                MType = "POF";
            }

            int OrdID = 0;

            if (int.TryParse(dgOrder.CurrentRow.Cells["StockOrder_ID"].Value.ToString(), out OrdID))
            {
                //LMSWarehouse.FrmReceiveOrder FReceiveOrder = new FrmReceiveOrder(OrdID);
                //FReceiveOrder.ShowDialog();
                //RefreshData();
                FrmItemScan FItemScan = new FrmItemScan(MType, CompanyID, WarehouseID, 0, OrdID, MDesc);
                FItemScan.ShowDialog();
                RefreshData();
            }
            else
            {
                MessageBox.Show("No Order was selected");
            }
        }
コード例 #3
0
        private void button2_Click(object sender, EventArgs e)
        {
            FrmItemScan FItemScan = new FrmItemScan("PU",
                                                    CompanyID, WarehouseID, 0, 0, "Put Away");

            FItemScan.ShowDialog();
            //LMSWarehouse.FrmPutAwayList FPutAwayList = new FrmPutAwayList(WarehouseID);
            //ShowForm(FPutAwayList);
        }