• Advertising
  • Advice
  • Affiliate Programs
  • Auto
  • Awards
  • Business
  • Careers
  • CGI
  • Computers
  • Communication
  • Copywriting
  • CSS
  • DHTML
  • Direct Mail
  • Domain Names
  • EBooks
  • ECommerce
  • Education
  • Email
  • Entertainment
  • Environment
  • Family
  • Finance
  • Fitness
  • Food
  • Free
  • Gardening
  • Government
  • Health
  • Hobbies
  • Home Business
  • Home Repair
  • HTML
  • Humor
  • Internet
  • Javascript
  • Law
  • Link Popularity
  • Management
  • Marketing
  • Marriage
  • Metaphysical
  • MLM
  • Motivational
  • Multimedia
  • Newsletters
  • Off-Line Promotion
  • Online Promotion
  • Other
  • Pets
  • Politics
  • Psychology
  • Publishing
  • Religion
  • Sales
  • Scams
  • Science
  • SE Optimization
  • SE Positioning
  • SE Tactics
  • Self Help
  • Sexuality
  • Site Security
  • Social Issues
  • Spam
  • Sports
  • Technology
  • Traffic Analysis
  • Travel
  • Viral Marketing
  • Web Hosting
  • Web Design
  • Webmasters
  • Weight Loss
  • Women's Issues
  • Writing
  • Product Review
  • Life Style
  • Celebrities
  • Online Business
  • Self Improvement and Motivation

  • Microsoft CRM Customization: Integration with third party SQL Application/Database

    Microsoft CRM – Client Relationship Management package from Microsoft Business Solutions was initially designed to be customizable with Microsoft Visual Studio.Net and one of its programming languages – C#.Net or VB.Net. You can use ADO.Net, Web Service, Transact SQL scripting and stored procedures, deploy such SQL Server tools as Linked Server to all ODBC/OLEDB compliant database, including ORACLE, Sybase, Ingress, DB2, Unidata, Pervasive SQL, Ctree and even Lotus Notes/Domino. In this small article we would like to give you the clue on programming the integration with SQL third party Database. First – use Microsoft CRM SDK to initiate communication with Microsoft CRM, we have it in C#:
    String[] arr1 = coll.AllKeys;
    int loop1, loop2;
    for (loop1 = 0; loop1 0?1:arr1.Length); loop1++) 
    {
    String[] arr2 = coll.GetValues(arr1[loop1]);
    for (loop2 = 0; loop2 < arr2.Length; loop2++) 
    {
    strAccountId =  arr2[loop2].Replace("}",null);
    strAccountId = strAccountId.Replace("{",null);
    }
    }
    
    if (Page.IsPostBack==false)
    {
    // Server should be set with the name of the platform Web server
    string Server = ConfigurationSettings.AppSettings["ServerName"];
    
    // VirtualDirectory should be set with the name of the Microsoft 
    // CRM Virtual Directory on the platform Web server
    string VirtualDirectory = "mscrmservices";
    string strDir = "http://" + Server + "/" + VirtualDirectory + "/";
    
    // BizUser proxy object
    Microsoft.CRM.Proxy.BizUser oBizUser = new Microsoft.CRM.Proxy.BizUser ();
    oBizUser.Credentials = System.Net.CredentialCache.DefaultCredentials;
    oBizUser.Url = strDir + "BizUser.srf";
    
    // CRMAccount proxy object
    Microsoft.CRM.Proxy.CRMAccount account = new Microsoft.CRM.Proxy.CRMAccount ();
    account.Credentials = System.Net.CredentialCache.DefaultCredentials;
    account.Url = strDir + "CRMAccount.srf";
    
    Then you use ADO.Net for calling stored procedure with parameters to do the integration job:
    try
    {
    string SQLStatement="ICS_UpdateAccountPrivate ´"+
    strAccountId +"´ , ´" + this.TextBoxWorkPerformed.Text +
    "´ , "+doubleEncode(System.Double.Parse(this.TextBoxAnnualRevenue.Text))+" , "+
    intEncode(System.Int32.Parse(this.TextBoxNumberOfEmployees.Text.Replace(",","")))+" , "+
    doubleEncode(System.Double.Parse(this.TextBoxAverageGrowthRate.Text))+" , "+
    "´"+this.DropDownListOwnership.SelectedItem.Text +"´ , "+
    intEncode(System.Int32.Parse(this.RadioButtonList.SelectedItem.Value))+" , "+
    intEncode(System.Int32.Parse(this.TextBoxCredit.Text.Replace(",","")))+" , ´"+
    this.TextBoxComments.Text+"´";
    
    System.Data.SqlClient.SqlConnection tmpConnection =
    new System.Data.SqlClient.SqlConnection(ConfigurationSettings.AppSettings["ConnectionStringICS"]
    ); 
    

    More articles:
    How To Survive An Operating System Crash

    Zone Labs vs. Windows XP Service Pack 2 Firewall

    Medical Practice Software Simplifies the EMR Process

    Data Visualization Flash Charts: Information in a Flash

    1Click Backup : Backup Utility Software For Windows

    File sharing - What you need to know!

    Touch Screen Monitor

    Monitor Repair Screen Touch

    Monitor Screen Touch Wireless

    New MSN Search Engine: How Good Is It?

    Starting Your Own Blog

    Tips For Safer Computing Online

    Digital Imaging Explained

    Microsoft Business Solutions - Navision Customization: C/SIDE, C/ODBC, C/FRONT, XBRL

    Ten Things Everyone Should Know about Ordering an Inkjet Cartridge Online

    Free Traffic vs. Extra Revenue - Earning From PPC Search Engines

    20 Extra Hous Per Week: What Would You Do?

    Search Engine monopoly

    Having A User Friendly Website

    So, Is It Possible To Earn Free Money Online Fast?

    advanced



       Reviews phones mobiles
       Free games
       Anunturi masini second hand
       Ziarul Buna ZIUA IASI
       Matrimoniale
       Auto-Dealer.RO
       website value
    Home     About Us     Services     Products     Support     Contact
    © Article Storage 2006 - 2012