Good Afternoon,
I'm using NAV web services to change the default type of an order status to Released. When I try to change it I noticed that I get an error message that states Exception Was Unhandled: The Status Must Be Set to Open. Is there a way around this? I might be doing this incorrectly.. Thank you in advance.
*This post is locked for comments
Hello. I want to be able to change the status order by invoking a web service. Currently the field if read-only, how do i change it? Please help me through the whole process. I need this asap please.
Codeunit 414 "Release Sales Document" - must be called with the Sales Header you want to release as a parameter.. you can't just call the CU
t
Sales
Sales or Purchase?
Also.. Do you know the proper ID # / Object ID # for the Release Command. I was told it was 5771 but that could be incorrect. Could you verify?
Are you trying to change the "Status" field directly within the dataset? You can't do that.. the record has to be passed through the release sales document codeunit. just changing the status directly will not do that for you.
t
We are able to change it to release in NAV. Works fine. However when in web services, the errors state it's in read-only mode. Now sure why.. we haven't changed it. When we change it to allow to edit we get certain errors. One of which is the exception was unhandled. I will mention under read-only.
Hey Jason,
Have you tried to release the order manually in NAV to see if it reports a more articulate error? It could be that you are not allowed to release the document as certain conditions are yet to be fulfilled.
t
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156