Esempio n. 1
0
        private void ProcessButton_Click(object sender, EventArgs e)
        {
            PerformValidation();
            if (JobValidated && SuffixValidated && QtyValidated && OperNumValidated && LocValidated && (LotValidated || !LotTracked) && SNPicked)
            {
                SLDcjms.CurrentTable.Rows.Clear();
                DataRow Row = SLDcjms.CurrentTable.NewRow();
                Row["TransNum"]  = SLDcjms.NextTransNum();            //TransNum
                Row["TransType"] = "3";                               //TransType
                Row["Stat"]      = "U";                               //Stat
                Row["Termid"]    = CSISystemContext.GetDeviceId();    //Termid
                Row["TransDate"] = DateTime.Now;                      //TransDate
                Row["Whse"]      = CSISystemContext.DefaultWarehouse; //Whse
                Row["EmpNum"]    = CSISystemContext.EmpNum;           //EmpNum
                Row["Job"]       = JobEdit.Text;                      //Item
                Row["Suffix"]    = SuffixEdit.Text;                   //UM
                Row["Qty"]       = QtyEdit.Text;                      //QtyMoved
                Row["OperNum"]   = OperNumEdit.Text;                  //OperNum
                Row["Loc"]       = LocEdit.Text;                      //Loc
                Row["Lot"]       = LotEdit.Text;                      //Lot
                SLDcjms.CurrentTable.Rows.Add(Row);
                //Row.BeginEdit();
                //Row.EndEdit();
                //Row.AcceptChanges();

                SetKeyValues(GetString(Resource.String.JobOrder), JobEdit.Text, GetString(Resource.String.Suffix), SuffixEdit.Text);

                SLDcjms.InsertIDO();
                ShowProgressBar(true);
            }
        }
Esempio n. 2
0
        private void ProcessButton_Click(object sender, EventArgs e)
        {
            PerformValidation();
            if (ItemValidated && UMValidated && QtyValidated && LocValidated && (LotValidated || !LotTracked) && ReasonValidated && SNPicked)
            {
                SLDcitems.CurrentTable.Rows.Clear();
                DataRow Row = SLDcitems.CurrentTable.NewRow();
                Row["TransNum"]   = SLDcitems.NextTransNum();          //TransNum
                Row["TransType"]  = "3";                               //TransType
                Row["Stat"]       = "U";                               //Stat
                Row["Termid"]     = CSISystemContext.GetDeviceId();    //Termid
                Row["TransDate"]  = DateTime.Now;                      //TransDate
                Row["Whse"]       = CSISystemContext.DefaultWarehouse; //Whse
                Row["EmpNum"]     = CSISystemContext.EmpNum;           //EmpNum
                Row["Item"]       = ItemEdit.Text;                     //Item
                Row["UM"]         = UMEdit.Text;                       //UM
                Row["CountQty"]   = QtyEdit.Text;                      //CountQty
                Row["Loc"]        = LocEdit.Text;                      //Loc
                Row["Lot"]        = LotEdit.Text;                      //Lot
                Row["ReasonCode"] = ReasonEdit.Text;                   //ReasonCode
                SLDcitems.CurrentTable.Rows.Add(Row);
                //Row.BeginEdit();
                //Row.EndEdit();
                //Row.AcceptChanges();

                SetKeyValues(GetString(Resource.String.Item), ItemEdit.Text);//Item

                SLDcitems.InsertIDO();
                ShowProgressBar(true);
            }
        }
Esempio n. 3
0
        private void ProcessButton_Click(object sender, EventArgs e)
        {
            PerformValidation();
            if (PoNumValidated && LineValidated && ReleaseValidated && UMValidated && QtyValidated && LocValidated && (LotValidated || !LotTracked) && SNPicked)
            {
                SLDcpos.CurrentTable.Rows.Clear();
                DataRow Row = SLDcpos.CurrentTable.NewRow();
                Row["TransNum"]    = SLDcpos.NextTransNum();            //TransNum
                Row["TransType"]   = "1";                               //TransType 1:Ship 2:Return
                Row["Stat"]        = "U";                               //Stat
                Row["Termid"]      = CSISystemContext.GetDeviceId();    //Termid
                Row["TransDate"]   = DateTime.Now;                      //TransDate
                Row["Whse"]        = CSISystemContext.DefaultWarehouse; //Whse
                Row["EmpNum"]      = CSISystemContext.EmpNum;           //EmpNum
                Row["PoNum"]       = PoNumEdit.Text;                    //PoNum
                Row["PoLine"]      = LineEdit.Text;                     //PoLine
                Row["PoRelease"]   = ReleaseEdit.Text;                  //Release
                Row["Item"]        = ItemText.Text;                     //Item
                Row["QtyReceived"] = QtyEdit.Text;                      //QtyShipped
                Row["UM"]          = UMEdit.Text;                       //UM
                Row["Loc"]         = LocEdit.Text;                      //Loc
                Row["Lot"]         = LotEdit.Text;                      //Lot
                //Row["ReasonCode"] = ReasonCodeEdit.Text;//ReasonCode
                SLDcpos.CurrentTable.Rows.Add(Row);
                //Row.BeginEdit();
                //Row.EndEdit();
                //Row.AcceptChanges();

                SetKeyValues(GetString(Resource.String.OrderNumber), PoNumEdit.Text, GetString(Resource.String.OrderLine), LineEdit.Text, GetString(Resource.String.OrderRelease), ReleaseEdit.Text);

                SLDcpos.InsertIDO();
                ShowProgressBar(true);
            }
        }
Esempio n. 4
0
        private void SetDetailList()
        {
            ArrayAdapter adapter = new ArrayAdapter(Application.Context, Android.Resource.Layout.SimpleGalleryItem);

            adapter.Add(string.Format("{0}: {1}", Application.Context.GetString(Resource.String.Site), CSISystemContext.Site));
            adapter.Add(string.Format("{0}: {1}", Application.Context.GetString(Resource.String.Warehouse), CSISystemContext.DefaultWarehouse));
            adapter.Add(string.Format("{0}: {1}", Application.Context.GetString(Resource.String.Device), CSISystemContext.GetDeviceId()));
            adapter.Add(string.Format("{0}: {1}", Application.Context.GetString(Resource.String.RegisterLicense), Application.Context.GetString(Resource.String.NoLicensed)));
            adapter.Add(string.Format("{0}: {1}", Application.Context.GetString(Resource.String.ExpirationDate), CSISystemContext.ExpDate));
            ListView.Adapter = adapter;
        }