Microsoft KB Archive/933518

= The value in the &quot;Address Name&quot; field for an account in Microsoft Dynamics CRM 3.0 may differ from the value in the &quot;Address ID&quot; field for the account in Microsoft Dynamics GP =

Article ID: 933518

Article Last Modified on 8/21/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0
 * Microsoft Dynamics CRM Connector for Microsoft Dynamics GP
 * Microsoft Dynamics GP 9.0
 * Microsoft Business Solutions–Great Plains 8.0

-



SYMPTOMS
The value in the Address Name field for an account in Microsoft Dynamics CRM may differ from the value in the Address ID field for the account in Microsoft Dynamics GP. This problem occurs after you use Microsoft Dynamics CRM Connector for Microsoft Dynamics GP to integrate a customer account in Microsoft Dynamics CRM 3.0 with a customer account in Microsoft Dynamics GP.



CAUSE
This problem occurs because the value in the Address Name field in Microsoft Dynamics CRM can be modified. However, the value in the Address ID field in Microsoft Dynamics GP cannot be modified. Therefore, the fields may be different if you update the Address Name field in Microsoft Dynamics CRM.



WORKAROUND
Note Before you follow the instructions in this article, make sure that you have a complete backup copy of the database that you can restore if a problem occurs.

To work around this problem, disable the ability to edit the following fields in Microsoft Dynamics CRM 3.0:
 * The Address1: Name field in the Account entity
 * The Address2: Name field in the Account entity
 * The Address1: Name field in the Address entity
 * The Address2: Name field in the Address entity
 * The Address Name field in the Address entity.

To do this, use one of the following methods.

Method 1
Note Use this method if you want to use the Microsoft Dynamics CRM Software Development Kit (SDK) applications to update the values in these fields. Also, use this method if you want to use the Microsoft Dynamics CRM SDK callouts to update the values in these fields.

Note These steps describe how to disable the ability to edit the following fields:
 * The Address1: Name field in the Account entity
 * The Address2: Name field in the Account entity
 * The Address1: Name field in the Address entity
 * The Address2: Name field in the Address entity

However, you can also follow these steps to disable the fields for the Contact entity.  Back up the _MSCRM database and the  _METABASE database.

For more information about the backup procedure, see Chapter 26, &quot;Backing up your Microsoft CRM System,&quot; in the Microsoft CRM 3.0 Implementation Guide. To download the Microsoft CRM 3.0 Implementation Guide, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=1ff067f8-4f77-40f0-ae9c-68ada7d4f16a&DisplayLang=en

 Log on to the Microsoft Dynamics CRM 3.0 Web client as a user who has a System Administrator role or as a user who has a System Customizer role. On the Go To menu, point to Settings, and then click Customization. Click Customize Entities. Customize the Account entity.  Double-click the Account entity. On the &quot;Entity: Account&quot; page, click Forms and Views, and then double-click Form.</li> On the &quot;Form: Account&quot; page, click Form Properties under Common Tasks.</li> In the Form Properties dialog box, click Onload under Event List, and then click Edit.</li>  In the Event Detail Properties dialog box, click to select the Event is enabled check box, copy the following script, and then paste the script in the script box. var CRM_FORM_TYPE_UPDATE = &quot;2&quot;; if (crmForm.FormType == CRM_FORM_TYPE_UPDATE) { // Disable the name attribute. crmForm.all.address1_name.Disabled=true; } </li> Click OK two times.</li> On the &quot;Form: Account&quot; page, click Save and Close.</li> On the &quot;Entity: Account&quot; page, click Save and Close.</li></ol> </li> Customize the Address entity. <ol style="list-style-type: lower-alpha;"> Double-click the Address entity.</li> On the &quot;Entity: Address&quot; page, click Forms and Views, and then double-click Form.</li> On the &quot;Form: Address&quot; page, click Form Properties under Common Tasks.</li> In the Form Properties dialog box, click Onload under Event List, and then click Edit.</li>  In the Event Detail Properties dialog box, click to select the Event is enabled check box, copy the following script, and then paste the script in the script box. var CRM_FORM_TYPE_UPDATE = &quot;2&quot;; if (crmForm.FormType == CRM_FORM_TYPE_UPDATE) { // Disable the name attribute. crmForm.all.name.Disabled=true; } </li> Click OK two times.</li> On the &quot;Form: Address&quot; page, click Save and Close.</li> On the &quot;Entity: Address&quot; page, click Save and Close.</li></ol> </li> <li>Select the Account entity and the Address entity, and then click Publish.</li></ol>

Method 2
Note Use this method if you want to prevent the Microsoft Dynamics CRM SDK applications from updating the values in these fields. Also, use this method if you want to prevent the Microsoft Dynamics CRM callouts from updating the values in these fields.

To obtain the steps for this method, contact Microsoft Customer Support Services. For a complete list of Microsoft Customer Support Services telephone numbers, and for information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

Steps to reproduce the problem

 * 1) Log on to Microsoft Dynamics GP 9.0.
 * 2) On the Cards menu, point to Sales, and then click Customer.
 * 3) In the Customer Maintenance window, click the lookup button next to the Customer ID field, click a customer account that has been integrated to Microsoft Dynamics CRM 3.0, and then click Select.
 * 4) Note the value in the Address ID field.
 * 5) Click Address.
 * 6) In the Customer Address Maintenance window, note the value in the Address ID field.
 * 7) Log on to Microsoft Dynamics CRM 3.0.
 * 8) On the Go To menu, point to Sales, and then click Accounts.
 * 9) Double-click the integrated account that you selected in step 3 earlier in this section.
 * 10) Note the value in the Address Name field. This value differs from the value that you noticed in step 4 earlier in this section.
 * 11) Click More Addresses. The value in the Address Name field differs from the value that you noted in step 6 earlier in this section.

Keywords: kbtshoot kbbug kbmbsmigrate KB933518

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.