Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Unable to create Sales Order

Posted on by 55

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

  • Suggested answer
    soma Profile Picture
    soma 24,406 on at
    RE: Unable to create Sales Order

    Please have a look on the below links.

    blogs.msdn.com/.../resolving-gp-web-services-invalid-data-exceptions.aspx

    support.microsoft.com/.../927324

    support.microsoft.com/.../950697

    Hope this helps!!!

  • SSunnergren Profile Picture
    SSunnergren 250 on at
    RE: Unable to create Sales Order

    Good afternoon Mariano,

    Did you ever get a resolution for this? I am having the same problem.

    Thanks,

    Scot

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans