Example #1
0
 private void GetMstList(ExWebService.geDialogDisplayFlg flg)
 {
     object[] prm = new object[3];
     prm[0] = this.txtCode.Text.Trim();
     prm[1] = this.txtName.Text.Trim();
     prm[2] = ExCast.zNumZeroNothingFormat(Dlg_MstSearch.this_id2);
     webServiceMst.objPerent = this.utlDummy;
     webServiceMst.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodityList,
                                     ExWebService.geDialogDisplayFlg.No,
                                     ExWebService.geDialogCloseFlg.No,
                                     prm);
 }
Example #2
0
        // ログイン
        public static void ReLogin(ExWebService.geDialogDisplayFlg displayFlg, ExWebService.geDialogCloseFlg closeFlg)
        {
            try
            {
                Common.gstrMsgSessionError = "";

                utlDummy.evtDataSelect -= _evtDataSelect;
                utlDummy.evtDataSelect += _evtDataSelect;

                object[] prm = new object[3];
                prm[0] = Common.gstrLoginUserID;
                prm[1] = Common.gstrLoginPassword;
                prm[2] = 0;
                webService.objPerent = utlDummy;
                webService.CallWebService(ExWebService.geWebServiceCallKbn.Login,
                                          displayFlg,
                                          closeFlg,
                                          prm);
            }
            catch
            {
            }
        }
        private void GetMstList(ExWebService.geDialogDisplayFlg flg)
        {
            object[] prm = new object[4];
            prm[0] = this.txtCode.Text.Trim();
            prm[1] = this.txtName.Text.Trim();

            if (this.stpKana.Visibility == System.Windows.Visibility.Visible)
            {
                prm[2] = this.txtKana.Text.Trim();
            }
            else
            {
                prm[2] = "";
            }

            prm[3] = "";
            if (objClassList != null)
            {
                for (int i = 0; i <= objClassList.Count - 1; i++)
                {
                    if (ExCast.zCStr(this.cmbGroup1.SelectedValue) == objClassList[i].name)
                    {
                        prm[3] = objClassList[i].id;
                    }
                }
            }

            if (this.MstKbn == MstData.geMDataKbn.Supplier)
            {
                prm[4] = ExCast.zNumZeroNothingFormat(Dlg_MstSearchGroup.this_id2);
            }
            webServiceMst.objPerent = this.utlDummy;

            ExWebServiceMst.geWebServiceMstNmCallKbn callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomerList;
            switch (this.MstKbn)
            {
            case MstData.geMDataKbn.Customer:
            case MstData.geMDataKbn.Customer_F:
            case MstData.geMDataKbn.Customer_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomerList;
                break;

            case MstData.geMDataKbn.Supplier:
            case MstData.geMDataKbn.Supplier_F:
            case MstData.geMDataKbn.Supplier_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplierList;
                break;

            case MstData.geMDataKbn.Person:
            case MstData.geMDataKbn.Person_F:
            case MstData.geMDataKbn.Person_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetPersonList;
                break;

            case MstData.geMDataKbn.Commodity:
            case MstData.geMDataKbn.Commodity_F:
            case MstData.geMDataKbn.Commodity_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodityList;
                break;

            case MstData.geMDataKbn.CompanyGroup:
            case MstData.geMDataKbn.CompanyGroup_F:
            case MstData.geMDataKbn.CompanyGroup_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroupList;
                break;

            case MstData.geMDataKbn.Zip:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetZipList;
                break;

            case MstData.geMDataKbn.Condition:
            case MstData.geMDataKbn.Condition_F:
            case MstData.geMDataKbn.Condition_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetConditionList;
                break;

            case MstData.geMDataKbn.RecieptDivision:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetRecieptDivisionList;
                break;

            case MstData.geMDataKbn.Group:
            case MstData.geMDataKbn.Group_F:
            case MstData.geMDataKbn.Group_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroupList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;

            case MstData.geMDataKbn.Purchase:
            case MstData.geMDataKbn.Purchase_F:
            case MstData.geMDataKbn.Purchase_T:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchaseList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;

            case MstData.geMDataKbn.Inventory:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetInventoryList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;

            case MstData.geMDataKbn.SalesBalance:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetSalesBalanceList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;

            case MstData.geMDataKbn.PaymentBalance:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetPaymentBalanceList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;
            }

            if (flg == ExWebService.geDialogDisplayFlg.Yes)
            {
                webServiceMst.CallWebServiceMst(callKbn,
                                                ExWebService.geDialogDisplayFlg.Yes,
                                                ExWebService.geDialogCloseFlg.Yes,
                                                prm);
            }
            else
            {
                webServiceMst.CallWebServiceMst(callKbn,
                                                ExWebService.geDialogDisplayFlg.No,
                                                ExWebService.geDialogCloseFlg.No,
                                                prm);
            }
        }
Example #4
0
        public void ReportStart()
        {
            try
            {
                if (this.utlParentFKey != null)
                {
                    this.utlParentFKey.IsEnabled = false;
                }

                ExWebService.geDialogDisplayFlg DialogDisplayFlg = ExWebService.geDialogDisplayFlg.Yes;
                if (this.blClose == true || this.rptKbn == DataReport.geReportKbn.OutPut)
                {
                    DialogDisplayFlg = ExWebService.geDialogDisplayFlg.No;
                }

                switch (this.rptKbn)
                {
                case DataReport.geReportKbn.Download:
                    Common.gstrProgressDialogTitle = "PDFファイル作成中";
                    break;

                case DataReport.geReportKbn.Csv:
                    Common.gstrProgressDialogTitle = "CSVファイル作成中";
                    break;
                }

                object[] prm = new object[3];
                prm[0] = (int)this.rptKbn;
                prm[1] = pgId;

                if (this.gWinMsterType != Common.geWinMsterType.None)
                {
                    if (this.gWinMsterType == Common.geWinMsterType.Class)
                    {
                        prm[2] = ExCast.zNumNoFormat(ExCast.zCStr((int)this.MstGroupKbn) + "<<@escape_comma@>>" + this.utlID_F.txtID.Text.Trim()) + "," +
                                 ExCast.zNumNoFormat(ExCast.zCStr((int)this.MstGroupKbn) + "<<@escape_comma@>>" + this.utlID_T.txtID.Text.Trim()) + "," +
                                 ExCast.zCStr(this.datUpdateYmd.SelectedDate) + "," +
                                 ExCast.zCStr(this.cmbOrder.SelectedIndex);
                    }
                    else
                    {
                        prm[2] = ExCast.zNumNoFormat(this.utlID_F.txtID.Text.Trim()) + "," +
                                 ExCast.zNumNoFormat(this.utlID_T.txtID.Text.Trim()) + "," +
                                 ExCast.zCStr(this.datUpdateYmd.SelectedDate) + "," +
                                 ExCast.zCStr(this.cmbOrder.SelectedIndex);
                    }
                }
                else
                {
                    prm[2] = this.sqlWhere + "," +
                             this.sqlOrderBy;
                }
                webService.objPerent = this;

                switch (this.rptKbn)
                {
                case DataReport.geReportKbn.OutPut:
                    reportView         = new Dlg_ReportView();
                    reportView.pgId    = pgId;
                    reportView.rptKbn  = this.rptKbn;
                    reportView.Closed -= dlg_Closed;
                    reportView.Closed += dlg_Closed;
                    reportView.Show();
                    break;
                }

                webService.CallWebService(ExWebService.geWebServiceCallKbn.ReportOut,
                                          DialogDisplayFlg,
                                          ExWebService.geDialogCloseFlg.No,
                                          prm);
            }
            catch
            {
                if (this.utlParentFKey != null)
                {
                    this.utlParentFKey.IsEnabled = true;
                }
            }
        }
        // マスタ名称取得
        public void GetMData(geMDataKbn mstKbn, string[] id, ExUserControl page)
        {
            ExWebServiceMst webService = new ExWebServiceMst();

            object[] prm;
            _page = page;

            switch (mstKbn)
            {
                #region 得意先

                case geMDataKbn.Customer:               // 得意先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Customer_F:               // 得意先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Customer_T:               // 得意先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 納入先

                case geMDataKbn.Supplier:               // 納入先
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Supplier_F:               // 納入先
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Supplier_T:               // 納入先
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 担当

                case geMDataKbn.Person:                 // 担当
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Person_F:                 // 担当
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Person_T:                 // 担当
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 商品

                case geMDataKbn.Commodity:               // 商品
                    prm = new object[2];
                    prm[0] = id[0];
                    if (id.Length > 1) prm[1] = id[1];
                    else prm[1] = "";
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity,
                                                 MstData.dialogDisplayFlg,
                                                 MstData.dialogCloseFlg,
                                                 prm);
                    MstData.dialogDisplayFlg = ExWebService.geDialogDisplayFlg.No;
                    MstData.dialogCloseFlg = ExWebService.geDialogCloseFlg.No;
                    break;
                case geMDataKbn.Commodity_F:               // 商品
                    prm = new object[2];
                    prm[0] = id[0];
                    if (id.Length > 1) prm[1] = id[1];
                    else prm[1] = "";
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Commodity_T:               // 商品
                    prm = new object[2];
                    prm[0] = id[0];
                    if (id.Length > 1) prm[1] = id[1];
                    else prm[1] = "";
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 会社グループ

                case geMDataKbn.CompanyGroup:           // 会社グループ
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.CompanyGroup_F:           // 会社グループ
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.CompanyGroup_T:           // 会社グループ
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 郵便番号

                case geMDataKbn.Zip:                    // 郵便番号
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetZip,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 締区分

                case geMDataKbn.Condition:              // 締区分
                    prm = new object[2];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Condition_F:              // 締区分
                    prm = new object[2];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Condition_T:              // 締区分
                    prm = new object[2];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 入金区分

                case geMDataKbn.RecieptDivision:        // 入金区分
                    prm = new object[2];
                    prm[0] = id[0];
                    if (id.Length > 1) prm[1] = id[1];
                    else prm[1] = "";
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetRecieptDivision,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 分類

                case geMDataKbn.Group:                  // 分類
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                case geMDataKbn.Group_F:                  // 分類
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                case geMDataKbn.Group_T:                  // 分類
                    prm = new object[2];
                    prm[0] = id[0];
                    prm[1] = id[1];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                #region 仕入先

                case geMDataKbn.Purchase:               // 仕入先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Purchase_F:               // 仕入先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase_F,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;
                case geMDataKbn.Purchase_T:               // 仕入先
                    prm = new object[1];
                    prm[0] = id[0];
                    webService.objPerent = page;
                    webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase_T,
                                                 ExWebService.geDialogDisplayFlg.No,
                                                 ExWebService.geDialogCloseFlg.No,
                                                 prm);
                    break;

                #endregion

                default:
                    break;
            }

            if (page is Utl_MstText)
            {
                Utl_MstText utl = (Utl_MstText)page;
                utl.Is_Call_MstID_Changed = true;
            }
        }
Example #6
0
        private void GetMstList(ExWebService.geDialogDisplayFlg flg)
        {
            object[] prm = new object[3];
            prm[0] = this.txtCode.Text.Trim();
            prm[1] = this.txtName.Text.Trim();

            if (this.MstKbn == MstData.geMDataKbn.Supplier)
            {
                prm[2] = ExCast.zNumZeroNothingFormat(this.Id2);
            }
            webServiceMst.objPerent = this;

            ExWebServiceMst.geWebServiceMstNmCallKbn callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomerList;
            switch (this.MstKbn)
            {
            case MstData.geMDataKbn.Customer:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomerList;
                break;

            case MstData.geMDataKbn.Supplier:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplierList;
                break;

            case MstData.geMDataKbn.Person:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetPersonList;
                break;

            case MstData.geMDataKbn.Commodity:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodityList;
                break;

            case MstData.geMDataKbn.CompanyGroup:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroupList;
                break;

            case MstData.geMDataKbn.Zip:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetZipList;
                break;

            case MstData.geMDataKbn.Condition:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetConditionList;
                break;

            case MstData.geMDataKbn.RecieptDivision:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetRecieptDivisionList;
                break;

            case MstData.geMDataKbn.Group:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroupList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;

            case MstData.geMDataKbn.Purchase:
                callKbn = ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchaseList;
                webServiceMst.MstGroupKbn = this.MstGroupKbn;
                break;
            }

            if (flg == ExWebService.geDialogDisplayFlg.Yes)
            {
                webServiceMst.CallWebServiceMst(callKbn,
                                                ExWebService.geDialogDisplayFlg.Yes,
                                                ExWebService.geDialogCloseFlg.Yes,
                                                prm);
            }
            else
            {
                webServiceMst.CallWebServiceMst(callKbn,
                                                ExWebService.geDialogDisplayFlg.No,
                                                ExWebService.geDialogCloseFlg.No,
                                                prm);
            }
        }
Example #7
0
        // マスタ名称取得
        public void GetMData(geMDataKbn mstKbn, string[] id, ExUserControl page)
        {
            ExWebServiceMst webService = new ExWebServiceMst();

            object[] prm;
            _page = page;

            switch (mstKbn)
            {
                #region 得意先

            case geMDataKbn.Customer:                   // 得意先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Customer_F:                   // 得意先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Customer_T:                   // 得意先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCustomer_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region  入先

            case geMDataKbn.Supplier:                   // 納入先
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Supplier_F:                   // 納入先
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Supplier_T:                   // 納入先
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetSupplier_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 担当

            case geMDataKbn.Person:                     // 担当
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Person_F:                     // 担当
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Person_T:                     // 担当
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPerson_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 商品

            case geMDataKbn.Commodity:                   // 商品
                prm    = new object[2];
                prm[0] = id[0];
                if (id.Length > 1)
                {
                    prm[1] = id[1];
                }
                else
                {
                    prm[1] = "";
                }
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity,
                                             MstData.dialogDisplayFlg,
                                             MstData.dialogCloseFlg,
                                             prm);
                MstData.dialogDisplayFlg = ExWebService.geDialogDisplayFlg.No;
                MstData.dialogCloseFlg   = ExWebService.geDialogCloseFlg.No;
                break;

            case geMDataKbn.Commodity_F:                   // 商品
                prm    = new object[2];
                prm[0] = id[0];
                if (id.Length > 1)
                {
                    prm[1] = id[1];
                }
                else
                {
                    prm[1] = "";
                }
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Commodity_T:                   // 商品
                prm    = new object[2];
                prm[0] = id[0];
                if (id.Length > 1)
                {
                    prm[1] = id[1];
                }
                else
                {
                    prm[1] = "";
                }
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCommodity_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 会社グループ

            case geMDataKbn.CompanyGroup:               // 会社グループ
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.CompanyGroup_F:               // 会社グループ
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.CompanyGroup_T:               // 会社グループ
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCompanyGroup_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 郵便番号

            case geMDataKbn.Zip:                        // 郵便番号
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetZip,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 締区分

            case geMDataKbn.Condition:                  // 締区分
                prm    = new object[2];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Condition_F:                  // 締区分
                prm    = new object[2];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Condition_T:                  // 締区分
                prm    = new object[2];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetCondition_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 入金区分

            case geMDataKbn.RecieptDivision:            // 入金区分
                prm    = new object[2];
                prm[0] = id[0];
                if (id.Length > 1)
                {
                    prm[1] = id[1];
                }
                else
                {
                    prm[1] = "";
                }
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetRecieptDivision,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 分類

            case geMDataKbn.Group:                      // 分類
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Group_F:                      // 分類
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Group_T:                      // 分類
                prm    = new object[2];
                prm[0] = id[0];
                prm[1] = id[1];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetGroup_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

                #region 仕入先

            case geMDataKbn.Purchase:                   // 仕入先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Purchase_F:                   // 仕入先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase_F,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

            case geMDataKbn.Purchase_T:                   // 仕入先
                prm    = new object[1];
                prm[0] = id[0];
                webService.objPerent = page;
                webService.CallWebServiceMst(ExWebServiceMst.geWebServiceMstNmCallKbn.GetPurchase_T,
                                             ExWebService.geDialogDisplayFlg.No,
                                             ExWebService.geDialogCloseFlg.No,
                                             prm);
                break;

                #endregion

            default:
                break;
            }

            if (page is Utl_MstText)
            {
                Utl_MstText utl = (Utl_MstText)page;
                utl.Is_Call_MstID_Changed = true;
            }
        }