Exemplo n.º 1
0
        public void SearchNotesTemplate()
        {
            mrsClient = new RetailSystemClient();
            mrsClient.Endpoint.Address = new System.ServiceModel.EndpointAddress(Internal.Utilities.GetMetriconRetailSystemWcfClientEndpointUrl());

            mrsClient.GetAdditionalNotesTemplateAndProductsByRegionCompleted += new EventHandler <GetAdditionalNotesTemplateAndProductsByRegionCompletedEventArgs>(mrsClient_AdditionalNotesTemplateAndProductsByRegionCompleted);
            mrsClient.GetAdditionalNotesTemplateAndProductsByRegionAsync(TemplateNameSearchText, SelectedRegionId.ToString(), userid, SelectedStatus, (App.Current as App).CurrentUserRoleId);
            mrsClient = null;
        }