Exemple #1
0
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> commonlist = service.GetITEMCmCode();

            var listCOMPANY_TYP = (from item in commonlist where item.COMMON_PARENT == "COMPANY_TYP" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboCategory, listCOMPANY_TYP, "COMMON_CODE", "COMMON_NAME", "");

            var listFACILITY_TYPE = (from item in commonlist where item.COMMON_PARENT == "FACILITY_TYPE" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboType, listFACILITY_TYPE, "COMMON_CODE", "COMMON_NAME", "");

            var listYN1 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboDemandYN, listYN1, "COMMON_CODE", "COMMON_NAME", "");
            var listYN2 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboMtrlYN, listYN2, "COMMON_CODE", "COMMON_NAME", "");
            var listYN3 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFreeYN, listYN3, "COMMON_CODE", "COMMON_NAME", "");
            var listYN4 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboProcYN, listYN4, "COMMON_CODE", "COMMON_NAME", "");
            var listYN5 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboUseYN, listYN5, "COMMON_CODE", "COMMON_NAME", "");
            var listCom = (from item in commonlist where item.COMMON_PARENT == "COMPANY_TYP" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboCategory, listCom, "COMMON_CODE", "COMMON_NAME", "");
            var listComName = (from item in commonlist where item.COMMON_PARENT == "업체명" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboCom, listComName, "COMMON_CODE", "COMMON_NAME", "");
        }
Exemple #2
0
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> commonlist = service.GetITEMCmCode();

            var listYN = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboTradeYN, listYN, "COMMON_CODE", "COMMON_NAME", "");

            var listYN2 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboAutoYN, listYN2, "COMMON_CODE", "COMMON_NAME", "");

            var listYN3 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboStartYN, listYN3, "COMMON_CODE", "COMMON_NAME", "");

            var listYN4 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboUseYN, listYN4, "COMMON_CODE", "COMMON_NAME", "");

            var listVENDOR_TYP = (from item in commonlist where item.COMMON_PARENT == "VENDOR_TYP" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboComType, listVENDOR_TYP, "COMMON_CODE", "COMMON_NAME", "");
        }
Exemple #3
0
        /// <summary>
        /// 콤보박스 바인딩
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ComboBinding()
        {
            try
            {
                CommonService      service    = new CommonService();
                List <ComboItemVO> Commonlist = service.GetITEMCmCode();


                //품목유형
                var listITEM_TYP = (from item in Commonlist where item.COMMON_PARENT == "품목유형" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_TYP, listITEM_TYP, "COMMON_CODE", "COMMON_NAME", "");

                //창고
                var listWRHS = (from item in Commonlist where item.COMMON_PARENT == "창고" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(WRHS, listWRHS, "COMMON_CODE", "COMMON_NAME", "");

                //관리등급
                var listLEVEL = (from item in Commonlist where item.COMMON_PARENT == "관리등급" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_MANAGE_LEVEL, listLEVEL, "COMMON_CODE", "COMMON_NAME", "");
            }
            catch (Exception err)
            {
                this.Log.WriteError($"[[RECV {this.Name}]]:{err.Message}");
            }
        }
Exemple #4
0
        /// <summary>
        /// 콤보박스 바인딩
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> Commonlist = service.GetITEMCmCode();

            //발주창고
            var listWRHS = (from item in Commonlist where item.COMMON_PARENT == "창고" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(WRHS, listWRHS, "COMMON_CODE", "COMMON_NAME", "");

            //입고유형
            var listTYP = (from item in Commonlist where item.COMMON_PARENT == "입고유형" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(TYP, listTYP, "COMMON_CODE", "COMMON_NAME", "");


            //품목유형
            var listITEM_TYP = (from item in Commonlist where item.COMMON_PARENT == "품목유형" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(ITEM_TYP, listITEM_TYP, "COMMON_CODE", "COMMON_NAME", "");

            //관리등급
            var listITEM_MANAGER = (from item in Commonlist where item.COMMON_PARENT == "관리등급" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(ITEM_MANAGER, listITEM_MANAGER, "COMMON_CODE", "COMMON_NAME", "");
        }
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> commonlist = service.GetITEMCmCode();

            var listYN = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFACUseYN, listYN, "COMMON_CODE", "COMMON_NAME", "");

            var listYN2 = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboEXTRLYN, listYN2, "COMMON_CODE", "COMMON_NAME", "");

            var listFAC1 = (from item in commonlist where item.COMMON_PARENT == "창고" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFACEXHST, listFAC1, "COMMON_CODE", "COMMON_NAME", "");

            var listFAC2 = (from item in commonlist where item.COMMON_PARENT == "창고" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFACGOOD, listFAC2, "COMMON_CODE", "COMMON_NAME", "");

            var listFAC3 = (from item in commonlist where item.COMMON_PARENT == "창고" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFACBAD, listFAC3, "COMMON_CODE", "COMMON_NAME", "");
        }
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> commonlist = service.GetITEMCmCode();

            //var listCOMPANY_TYP = (from item in commonlist where item.COMMON_PARENT == "COMPANY_TYP" select item).ToList();
            //CommonUtil.ComboBinding<ComboItemVO>(cboCategory, listCOMPANY_TYP, "COMMON_CODE", "COMMON_NAME", "");
        }
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> commonlist = service.GetITEMCmCode();

            var listUse_YN = (from item in commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboFACGUseYN, listUse_YN, "COMMON_CODE", "COMMON_NAME", "");
        }
        /// <summary>
        /// 콤보박스바인딩
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> Commonlist = service.GetITEMCmCode();

            //업체
            var listCOM_REORDER = (from item in Commonlist where item.COMMON_PARENT == "업체명" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(ITEM_COM_REORDER, listCOM_REORDER, "COMMON_CODE", "COMMON_NAME", "");
        }
        /// <summary>
        /// 콤보 박스 바인딩
        /// </summary>
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            List <ComboItemVO> Commonlist = service.GetITEMCmCode();


            //PLAN_ID
            var listPLAN_ID = (from item in Commonlist where item.COMMON_PARENT == "PLAN_ID" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboPlan, listPLAN_ID, "COMMON_CODE", "COMMON_NAME", "");
        }
Exemple #10
0
        /// <summary>
        /// 콤보 박스 바인딩
        /// </summary>
        private void ComboBinding()
        {
            try
            {
                CommonService      service    = new CommonService();
                List <ComboItemVO> Commonlist = service.GetITEMCmCode();


                //발주업체
                var listCOM_USE_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(BOM_USE_YN, listCOM_USE_YN, "COMMON_CODE", "COMMON_NAME", "");
            }
            catch (Exception err)
            {
                this.Log.WriteError($"[[RECV {this.Name}]]:{err.Message}");
            }
        }
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            ComboItemService   service1   = new ComboItemService();
            List <ComboItemVO> commonList = service.GetITEMCmCode();
            List <ComboItemVO> facList    = service1.GetFacilitiesCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboFacil, facList, "COMMON_CODE", "COMMON_NAME", "");
            var listITEM = (from item in commonList where item.COMMON_PARENT == "품목" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboItemCode, listITEM, "COMMON_NAME", "COMMON_CODE", "");
            var listTool = (from item in commonList where item.COMMON_PARENT == "PROC_TOOL" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboPROC, listTool, "COMMON_CODE", "COMMON_NAME", "");
            var listYN = (from item in commonList where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboUseYN, listYN, "COMMON_CODE", "COMMON_NAME", "");
        }
Exemple #12
0
        private void ComboBinding()
        {
            try
            {
                CommonService      service    = new CommonService();
                List <ComboItemVO> Commonlist = service.GetITEMCmCode();


                //코드그룹1
                var list1 = (from item in Commonlist where item.COMMON_PARENT == null select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(cboGroup1, list1, "COMMON_CODE", "COMMON_NAME", "");

                //코드그룹2
                var list2 = (from item in Commonlist where item.COMMON_PARENT == null select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(cboGroup2, list2, "COMMON_CODE", "COMMON_NAME", "");
            }
            catch (Exception err)
            {
                this.Log.WriteError($"[[RECV {this.Name}]]:{err.Message}");
            }
        }
        /// <summary>
        /// 콤보박스 바인딩
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ComboBinding()
        {
            try
            {
                CommonService      service    = new CommonService();
                List <ComboItemVO> Commonlist = service.GetITEMCmCode();

                //수입검사
                var listINSPECT = (from item in Commonlist where item.COMMON_PARENT == "수입검사" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(INSPECT, listINSPECT, "COMMON_CODE", "COMMON_NAME", "");

                ////납품업체
                //var listREORDER_CODE = (from item in Commonlist where item.COMMON_PARENT == "업체명" select item).ToList();
                //CommonUtil.ComboBinding<ComboItemVO>(REORDER_CODE, listREORDER_CODE, "COMMON_CODE", "COMMON_NAME", "");

                //납품업체
                var listREORDER_COM = (from item in Commonlist where item.COMMON_PARENT == "업체명" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(REORDER_COM, listREORDER_COM, "COMMON_CODE", "COMMON_NAME", "");
            }
            catch (Exception err)
            {
                this.Log.WriteError($"[[RECV {this.Name}]]:{err.Message}");
            }
        }
Exemple #14
0
        private void ComboBinding()
        {
            try
            {
                CommonService      service    = new CommonService();
                List <ComboItemVO> Commonlist = service.GetITEMCmCode();

                //단위
                var listUNIT = (from item in Commonlist where item.COMMON_PARENT == "ITEM_UNIT" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_UNIT, listUNIT, "COMMON_CODE", "COMMON_NAME", "");

                //품목유형
                var listTYP = (from item in Commonlist where item.COMMON_PARENT == "품목유형" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_TYP, listTYP, "COMMON_CODE", "COMMON_NAME", "");

                //수입검사여부
                var listINCOME_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_INCOME_YN, listINCOME_YN, "COMMON_CODE", "COMMON_NAME", "");

                //공정검사여부
                var listPROCS_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_PROCS_YN, listPROCS_YN, "COMMON_CODE", "COMMON_NAME", "");

                //출하검사여부
                var listXPORT_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_XPORT_YN, listXPORT_YN, "COMMON_CODE", "COMMON_NAME", "");

                //유무상구분
                var listFREE_YN = (from item in Commonlist where item.COMMON_PARENT == "유무상구분" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_FREE_YN, listFREE_YN, "COMMON_CODE", "COMMON_NAME", "");

                //납품업체
                var listCOM_DLVR = (from item in Commonlist where item.COMMON_PARENT == "업체명" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_COM_DLVR, listCOM_DLVR, "COMMON_CODE", "COMMON_NAME", "");

                //발주업체
                var listCOM_REORDER = (from item in Commonlist where item.COMMON_PARENT == "업체명" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_COM_REORDER, listCOM_REORDER, "COMMON_CODE", "COMMON_NAME", "");

                //입고창고
                var listWRHS_IN = (from item in Commonlist where item.COMMON_PARENT == "창고" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_WRHS_IN, listWRHS_IN, "COMMON_CODE", "COMMON_NAME", "");

                //출고창고
                var listWRHS_OUT = (from item in Commonlist where item.COMMON_PARENT == "창고" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_WRHS_OUT, listWRHS_OUT, "COMMON_CODE", "COMMON_NAME", "");

                //관리등급
                var listMANAGE_LEVEL = (from item in Commonlist where item.COMMON_PARENT == "관리등급" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_MANAGE_LEVEL, listMANAGE_LEVEL, "COMMON_CODE", "COMMON_NAME", "");

                //담당자
                var listMANAGER = (from item in Commonlist where item.COMMON_PARENT == "담당자" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_MANAGER, listMANAGER, "COMMON_CODE", "COMMON_NAME", "");

                //환산단위
                var listUNIT_CNVR = (from item in Commonlist where item.COMMON_PARENT == "ITEM_UNIT" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_UNIT_CNVR, listUNIT_CNVR, "COMMON_CODE", "COMMON_NAME", "");

                //사용유무
                var listUSE_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_USE_YN, listUSE_YN, "COMMON_CODE", "COMMON_NAME", "");

                //발주방식
                var listLAST_REORDER_TYP = (from item in Commonlist where item.COMMON_PARENT == "발주방식" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_REORDER_TYP, listLAST_REORDER_TYP, "COMMON_CODE", "COMMON_NAME", "");

                //단종유무
                var listDSCN_YN = (from item in Commonlist where item.COMMON_PARENT == "사용여부" select item).ToList();
                CommonUtil.ComboBinding <ComboItemVO>(ITEM_DSCN_YN, listDSCN_YN, "COMMON_CODE", "COMMON_NAME", "");
            }
            catch (Exception err)
            {
                this.Log.WriteError($"[[RECV {this.Name}]]:{err.Message}");
            }
        }