Hi,
I am trying to create a Sales Order in GP 2010 but i have no success.
Getting the following error: "The application encountered an unhandled system exception. Contact your system administrator for details."
I have also tried exactly the same example as detailed in:
http://msdn.microsoft.com/en-us/library/cc508441.aspx
All the entities referenced there effectively exists in GP.
I have also opened the DynamicsWebServicesExceptionsConsole and i could find in View Exception Detail:
Message: Exception has been thrown by the target of an invocation.
Stack Trace Output:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at Microsoft.Dynamics.Common.EventManager.RaiseEvent(Object source, String targetName, String eventName, EventArgs args)
at Microsoft.Dynamics.Common.BusinessEventManager.RaiseEvent(Object source, String eventName, BusinessObjectEventArgs args)
at Microsoft.Dynamics.Common.BusinessEventManager.DefaultingForCreate(Object source, BusinessObjectEventArgs args)
at Microsoft.Dynamics.Common.BusinessService.Create(BusinessObject businessObject, Context context, Policy policy)
and on Inner Exception Detail...
Message: Object reference not set to an instance of an object.
StackTraceOutput:
at Microsoft.Dynamics.GP.SalesOrderDefaultStrategyImplementation.DefaultOrderSpecificProperties()
at Microsoft.Dynamics.GP.SalesOrderDefaultStrategyImplementation.DefaultingForCreate(Object sender, BusinessObjectEventArgs e)
at Microsoft.Dynamics.GP.SalesOrderDefaultStrategy.DefaultingForCreate(Object sender, BusinessObjectEventArgs e)
I didn't find any way to attach text files to the post, so, sorry for placing the error like this.
Any information is really appreciated.
Thanks in advance,
Mariano Merlo
*This post is locked for comments