Ejemplo n.º 1
0
        /////////////////////////////////////////////////////////////////////////////////////////////////
        protected override void Export()
        {
            var           dc        = this.DContextMain as V_Sale_Bill_Mnumber_SD;
            List <string> billcodes = new List <string>();

            billcodes.Add(this.CurrentIDCode);
            ComExportToFactory.Export(billcodes, dc.Flag_CX == true);
        }
Ejemplo n.º 2
0
        //////////////////////////////////////////////////////////////////////////////////
        protected override void Export()
        {
            if (this.GridListSelectedCodes.Count == 0)
            {
                return;
            }
            bool _cx = false;

            foreach (V_Sale_Bill_Mnumber it in this.DContextMain)
            {
                if (it.IsSelected)
                {
                    _cx = it.Flag_CX;
                    break;
                }
            }
            ComExportToFactory.Export(this.GridListSelectedCodes, _cx);
        }