示例#1
0
文件: Form1.cs 项目: icprog/newKG
        private void get請購清單()
        {
            CKGPartOrderFactory l_factory = _context.CFactoryManager.CKGPartOrderFactory;

            _CKGPartOrder = l_factory.getGroupBy未訂購所別筆數("", "");
            display請購單(_CKGPartOrder);
        }
        private void get請購清單()
        {
            string l_str廠商 = iv_cbo廠商.SelectedValue;
            string l_str所別 = iv_cbo請購所別.SelectedValue;

            if ("".Equals(l_str廠商))
            {
                return;
            }

            CKGPartOrderFactory l_factory = _context.CFactoryManager.CKGPartOrderFactory;

            CKGPartOrder[] l_codes = l_factory.getGroupBy未訂購所別筆數(l_str廠商, l_str所別);
            display請購單(l_codes);
        }