{"id":7,"date":"2012-06-06T08:50:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=7"},"modified":"2012-06-06T08:50:00","modified_gmt":"1970-01-01T00:00:00","slug":"microsoft-dynamic-crmde-yeni-musteri-tanimlama","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2012\/06\/06\/microsoft-dynamic-crmde-yeni-musteri-tanimlama\/","title":{"rendered":"Microsoft Dynamic CRM&#8217;de Yeni M\u00fcsteri Tanimlama"},"content":{"rendered":"<h1>MICROSOFT DYNAMIC CRM&rsquo;DE YENI M&Uuml;STERI TANIMLAMA<\/h1>\n<p>Crm Uygulamalarinin en &ccedil;ok kullanilan kisimlarindan biri de yeni m&uuml;steri tanimlama. Dynamic Crm bize yeni m&uuml;steri a&ccedil;mak ve m&uuml;steriye ait bir&ccedil;ok bilgi girisi yapabilecegimiz ve istedigimizde kolayca degisiklik yapabilecegimiz ortam sunmaktadir. Biz baska bir web veya Windows uygulamasindan yeni m&uuml;steri tanimlamamiz gerektiginde Dynamic Crm in SDK&rsquo;sini kullanmak zorundayiz. Dynamic Crm SDK&rsquo;si araciligiyla &ccedil;ok basit ve hizli bir sekilde yeni kayit a&ccedil;ilir ve istenilen kayitlara hizli bir sekilde erisim saglanip d&uuml;zenleme yapilabilinmektedir.<\/p>\n<p>Asagida  &ldquo;New_Account&rdquo; isminde bir metot tanimladim. Bu metot i&ccedil;erisine m&uuml;sterinin bilgilerin bulundugu parametreleri alarak kaydinin a&ccedil;ilmasini saglamaktadir.<\/p>\n<p>static public CrmService crmservice; \/\/CRM BAGLANTISI I&Ccedil;IN<\/p>\n<a href='www.yazilimmutfagi.com'>.<\/a>\n<pre class=\"brush:csharp\">\n \n\n\/\/CRM BAGLANTISI I&Ccedil;IN\npublic void Crmbaglanti()\n{\/\/Crm baglantisi kuruluyor\n    crmservice = new CrmService();\n    System.Net.NetworkCredential MyCredential = new System.Net.NetworkCredential();\n    MyCredential.UserName = &ldquo;CrmUserName&rdquo;;\n    MyCredential.Password = &ldquo;UserPassword&rdquo;;\n    MyCredential.Domain = &ldquo;CrmdomainName&rdquo;;\n    crmservice.Credentials = MyCredential;                  \n \n}\n\npublic Boolean New_Account(string musteri_firma, string adres,\n string email, string tel1, string tel2, string fax, string aciklama)\n        {\/\/YENI M&Uuml;STERI OLUSTURMA METODU\n            Boolean sonuc = false;\n            try\n            {\n              account ac = new account();  \/\/m&uuml;steri nesnesi tanimlaniyor.\n                ac.name = musteri_firma;  \/\/M&uuml;steri adi.\n                ac.address1_name = adres;\/\/Adres\n                ac.telephone1 = tel1;\/\/Telefon\n                ac.telephone2 = tel2;\n                ac.fax = fax;\/\/fax\n                ac.emailaddress1 = email;\/\/e-posta\n                ac.description = aciklama;\n\n                ac.exchangerate = new CrmDecimal();\n                ac.exchangerate.Value = (decimal)1;\n\n                Guid g =crmservice.Create(ac);\n\n                MessageBox.Show(&quot;M&uuml;steri olusturuldu.&quot;, &quot;Bilgilendirme&quot;, MessageBoxButtons.OK,\n MessageBoxIcon.Information);\n                sonuc = true;\n            }\n            catch { }\n\n            return sonuc;\n\n        }\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Yukarida &ldquo;New_Account&rdquo; metodu kullanilarak i&ccedil;ine m&uuml;steri bilgileri girilerek yeni m&uuml;steri tanimlamasi yapilmaktadir. Islem sirasinda herhangi bir sorunla karsilasilmazsa metot &ldquo;true&rdquo; degeri &uuml;retmektedir, bir sorun ile karsilasildiginda ise false degeri &uuml;retmektedir.<\/p>\n<p>B&ouml;ylece basitce firma\/m&uuml;steri tanimlama islemi ger&ccedil;eklestirmis oluyoruz. Umarim faydali olmustur.<\/p>\n<p>Bu ve  benzeri sorunlar i&ccedil;in bana turker.ahmet38@gmail.com mail adresim ile ulasabilirsiniz.<\/p>\n<a href='www.yazilimmutfagi.com'>.<\/a>","protected":false},"excerpt":{"rendered":"<p>Crm Uygulamalarinin en &#231;ok kullanilan kisimlarindan biri de yeni m&#252;steri tanimlama. Dynamic Crm bize yeni m&#252;steri a&#231;mak ve m&#252;steriye ait bir&#231;ok bilgi girisi yapabilecegimiz ve istedigimizde kolayca degisiklik yapabilecegimiz ortam sunmaktadir. Biz baska bir web veya Windows uygulamasindan yeni m&#252;steri tanimlamamiz gerektiginde Dynamic Crm in SDK\u2019sini kullanmak zorundayiz.<\/p>\n","protected":false},"author":530,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[417],"tags":[4968,4235,4230],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/530"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}