Allow negative stock from web service

njhansennjhansen Member Posts: 37
edited 2011-09-16 in NAV Three Tier
We would like to allow customers to pre-order goods that are not yet in stock in NAV. This works fine from the RTC (we get the warning about quantity on inventory not being sufficient, of course), but in the web service call from our web site, we don't get a warning, but the item goes onto the order with zero demand.

Is there something on the web service call return to check that indicates that this warning has occurred? If so, how do we indicate to the service that we want to override the warning and put it on order anyway?

We do want stock to go negative.

Answers

  • kinekine Member Posts: 12,562
    You need to call the SuspendStatusCheck function on the sales line before you fill the line in your webservice...

    But how to call it depends on how your webservices looks like...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.