Пример #1
0
        public static void LoadCusLensCodeSmartQupte(string cusCode)
        {
            cusCode = cusCode.MyStr();
            if (string.IsNullOrEmpty(cusCode) || _CusCodeQuote == cusCode)
            {
                return;
            }
            _CusCodeQuote = cusCode;

            var _Rs = ComHelpCusCode.UHV_B_CustomerRightBrowse.Where(item => item.CusCode.MyStr() == _CusCodeQuote).FirstOrDefault();

            if (_Rs == null)
            {
                Messenger.Default.Send <string>((""), USysMessages.ACBoxLensCodeQuoteTextUpdateBegin);
                _UHV_B_CusLensCodeSmartQuote.Clear();
                Messenger.Default.Send <string>((""), USysMessages.ACBoxLensCodeQuoteTextUpdateEnd);
                return;
            }
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensByCusCodeListQuery", ddsCusLensCodeQuote_LoadedData, true);

            dds.QueryParameters.Add(new Parameter()
            {
                ParameterName = "cusCode", Value = _CusCodeQuote
            });
            dds.Load();
        }
Пример #2
0
        private static void Load2()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_DepartmentRightBrowseList, ddsBrowseRight_LoadedData, true);

            dds.QueryParameters.Add(new Parameter()
            {
                ParameterName = "gpID", Value = USysInfo.F_Manager || USysInfo.F_DpCodeBrowse ? -99 : USysInfo.GpID
            });
            dds.Load();
        }
Пример #3
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_Sale_B_NoteHelpListQuery", dds_LoadedData, true);

            dds.SortDescriptors.Add(new System.Windows.Controls.SortDescriptor()
            {
                PropertyPath = "SN", Direction = System.ComponentModel.ListSortDirection.Ascending
            });
            dds.Load();
        }
Пример #4
0
        public static void Load()
        {
            var dds1 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_UsageAllList", dds_LoadedData1, true);

            dds1.Load();
            var dds2 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_BrandAllList", dds_LoadedData2, true);

            dds2.Load();
            var dds3 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_FocusAllList", dds_LoadedData3, true);

            dds3.Load();
            var dds4 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_IndexAllList", dds_LoadedData4, true);

            dds4.Load();
            var dds5 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_DesignAllList", dds_LoadedData5, true);

            dds5.Load();
            var dds6 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_MaterialsAllList", dds_LoadedData6, true);

            dds6.Load();
            var dds7 = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensClass_DefaultCoatingAllList", dds_LoadedData7, true);

            dds7.Load();
        }
Пример #5
0
        private static void Load1()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Man, UDSMethods.V_S_UserGroupAllList, dds_LoadedData);

            dds.Load();
        }
Пример #6
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_Pur_PriceContract_SpGroupAllList, dds_LoadedData, true);

            dds.Load();
        }
Пример #7
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_Material_FrameHelpList, dds_LoadedData, true);

            dds.Load();
        }
Пример #8
0
        private static void Load1()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_DepartmentAllList, dds_LoadedData, true);

            dds.Load();
        }
Пример #9
0
        private static void Load1()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_SupplierAllList, dds_LoadedData1, true);

            dds.Load();
        }
Пример #10
0
        private static void LoadWH()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_WareHouseHelpListQuery", WH_LoadedData, true);

            dds.Load();
        }
Пример #11
0
        private static void LoadSP()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_SupplierHelpListQuery", SP_LoadedData, true);

            dds.Load();
        }
Пример #12
0
        private static void Load1()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, "GetV_B_Material_LensSmartHelpListQuery", dds_LoadedData, true);

            dds.Load();
        }
Пример #13
0
        private static void Load2()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Man, "GetV_U_ProcessClassAllListQuery", ddsProClass_LoadedData);

            dds.Load();
        }
Пример #14
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Man, UDSMethods.V_S_DataBaseAllList, dds_LoadedData);

            dds.Load();
        }
Пример #15
0
        private static void Load2()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Man, UDSMethods.V_S_UserGroupByDBCodeList, dds_LoadedDataByDataBase, true);

            dds.Load();
        }
Пример #16
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_PersonAllList, dds_LoadedData, true);

            dds.Load();
        }
Пример #17
0
        public static void Load()
        {
            var dds = ComDDSFactory.Get(ComDSFactory.Erp, UDSMethods.V_B_ForeignCurrencyAllList, dds_LoadedData, true);

            dds.Load();
        }