We have just finished customising the contract form (added a couple of
fields).
We don't use all of the locked fields nor do we use contract lines.
We hadn't used the contracts before the customisation so I don't know if the
customisation is the problem or whether this occurred before.
Our site was a 1.2 site which was upgraded to 3.0
the error below occurs after the contract has been created (draft status)
and we then then use the "invoice" action....
Microsoft CRM Unhandled Error Details:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Unhandled Execution Error
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException:
Source 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.
Stack Trace:
[COMException (0x8004320e)]
Microsoft.Crm.Platform.ComProxy.CRMContractClass.Invoice(CUserAuth&
Caller, String ContractId, Int32 Status) +0
Microsoft.Crm.Application.Platform.Contract.Invoice(Int32 newStatus) +58
Microsoft.Crm.Web.CS.ContractPage.invoice(Object sender, DataEventArgs e)
+55
Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId
eventId, FormState state, User user, String objectId, Entity entity) +176
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId
eventId) +89
Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +56
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity,
String formId, String formType) +83
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity) +13
Microsoft.Crm.Web.CS.ContractPage.ConfigureForm() +358
Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Page.ProcessRequestMain() +1499
Can you specify that and see if it fixes the issue? You also need to have at
least 1 line item in order to be able to invoice the contract...
--
Jagan Peri
Microsoft Business Solutions CRM
This posting is provided "AS IS" with
no warranties, and confers no rights.
We only really want to keep summary information for our contracts since the
detail is stored elsewhere and didn't want to use the contract lines to keep
this all to one screen. It appears that this is not possible. Is that
correct?