views:

28

answers:

0

Using CRM 4.0 with Sql Server 2005 sp2

I have done some customization on the OrderProduct form i.e. just add few more attributes. These new attributes are also mapped with the QuoteProduct. Whenever, I am standing on Quote and choose the option of 'Convert into Order', and open the Order form, all the things working fine in Order and Order Product (either Existing or Write In).

But, let suppose I created a New Order, enter new Order Products (either in Existing or Write In) and save them. And, now open the Existing Order product, its working fine, while whenever I open any Write In Order Product for edit, it throw me following error.

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

[FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).] System.Guid..ctor(String g) +2959 Microsoft.Crm.Application.Platform.SalesOrderDetail.GetQuantityDecimal(String salesOrderId, String productId, String uomId) +247 Microsoft.Crm.Web.SFA.SalesOrderDetailDetailPage.AfterLoad(Object sender, DataEventArgs e) +263 Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, IUser user, String objectId, Entity entity) +219 Microsoft.Crm.Application.Forms.AppForm.RaiseAfterDataEvent(FormEventId eventId) +127 Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +102 Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formType) +120 Microsoft.Crm.Web.SFA.SalesOrderDetailDetailPage.ConfigureForm() +306 Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) +40 System.Web.UI.Control.PreRenderRecursiveInternal() +108 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394