I am currently using CRM online with the Project Service solution installed.
I get an error when trying to save an Opportunity that has been created by the Opportunity: Project Information form - the key part of the error is:
Microsoft.Dynamics.ProjectService.Plugins.PostOpportunityUpdateRefreshBusinessProcessStage]
Exception: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]: A validation error occurred. The value of 'salesstage' on record of type 'opportunity' is outside the valid range. (Fault Detail is equal to Microsoft.Xrm.Sdk.OrganizationServiceFault).
I have check the salesstage field and this is not the issue. At this point I believe that the issue occurs when the OrderType field (hidden by default on the form) is set to "Work based" and not "Item based" - as it saves ok when I have it set to "Item based". This value is set by the initialisation scripts called by the Opportunity: Project Information form when a new opportunity record is created.
Given my understanding is that the "Work based" value and the script/plugin that is causing the issue were both introduced with the Project Service solution - can anyone advise why I am getting this error or how to resolve this issue?