Ejemplo n.º 1
0
        void ObjWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            _Pr_Business m_Pr_Business = this.CurrentBusiness as _Pr_Business;

            if (m_Pr_Business != null)
            {
                m_Pr_Business.Update_Quantity(this.m_DataTable.GetChanges(), "SCDJ");
            }
        }
Ejemplo n.º 2
0
        void ObjWorker_DoWork(object sender, DoWorkEventArgs e)
        {
            if (m_DataTable == null)
            {
                return;
            }
            DataTable dt = this.m_DataTable.GetChanges();

            if (dt != null)
            {
                _Pr_Business m_Pr_Business = this.CurrentBusiness as _Pr_Business;
                if (m_Pr_Business != null)
                {
                    m_Pr_Business.Update_Quantity(dt, "SCDJ");
                    //(this.CurrentBusiness as _Pr_Business).Load();
                    (this.CurrentBusiness as _Pr_Business).Calculate();
                }
            }
        }