sales Order Update for Web Service Application of NAV 2009

marvindmarvind Member Posts: 25
edited 2010-02-02 in NAV Three Tier
Hi all,
I am creating web appliction with Asp.net & C#.net using Navision 2009 sp1 web services for Sales Order.all fields are update in Header and Line but only the the fileds which are having the decimal datatype are not updated.i.e quantity, amount....etc...

If Any Solution then please suggest.

Thanks
Regards,
Arvind

Comments

  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    For every non-nullable field you need to set the property <field>Specified to true in order to tell .net /VS to send that field over the wire to NAV Web Services - this is part of the way .net handles WS proxies.
    There are a number of samples on my blog explaining this.
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • marvindmarvind Member Posts: 25
    Hi Freddy,

    thanks,would you specify which property i have to set for quantity and amount of sales line in sales order,because i am a dot.net developer and i not very much aware with navision 2009.

    thanks
    regards,
    Arvind
  • freddy.dkfreddy.dk Member, Microsoft Employee Posts: 360
    order.SalesLines.Quantity = 2;
    order.SalesLines.QuantitySpecified = true;
    Freddy Kristiansen
    Group Program Manager, Client
    Microsoft Dynamics NAV
    http://blogs.msdn.com/freddyk

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
Sign In or Register to comment.