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.
Aden + Anais
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.
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.
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.
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?
Sales or Purchase?
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
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.
Other Microsoft Sites
I'm a Customer
I'm a Partner
Use the official Twitter tags:
#MSDYNCOMM | #CONV13