Enable Sub Grid for Contract Line (ContractDetail) entity in CRM 2011

Hi,

OOB if we try to add\insert sub grid for Contract Line entity in an Entity’s Form we would realize that the Contract Line entity doesn’t show up in the Entity drop down there.

The UNSUPPORTED way to get it enabled is to

Open the OrgName_MSCRM database

Run the following query

update metadataschema.entity

set  IsChildEntity=0

where name=‘contractdetail’

This will let us add the sub grid for the contract line entity.

Bye.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

1 thought on “Enable Sub Grid for Contract Line (ContractDetail) entity in CRM 2011”

  1. Thanks! this worked great…….however, I quickly found that when I now try to merge records I’m unable to perform the action. Any suggestions? Below is the error message:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Privilege Type Append not defined on entity ‘ContractDetail’.Detail:

    -2147220970

    Privilege Type Append not defined on entity ‘ContractDetail’.
    2014-05-28T19:18:00.330031Z

    I’ve been unsuccessful in finding where I can set the privilege type Append…..

    Thanks!
    Teq

    Like

Share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s