Is it possible to 'reopen' a 'released' order trough OData service?

foo_barfoo_bar Member Posts: 91
Hello,

As title says, is this possible? Because I can not find the function for this in my C# code..

Or do I have to write a CU and publish this as SOAP?

thank you

Best Answer

Answers

  • foo_barfoo_bar Member Posts: 91
    thats a great theory, thx!
  • JuhlJuhl Member Posts: 724
    Your welcome.
    Let me know if it works, as I thought about it the other day.
    A shame you can't publish a codeunit endpoint.
    Follow me on my blog juhl.blog
  • foo_barfoo_bar Member Posts: 91
    yes, this works as intended.

    thx again
  • JuhlJuhl Member Posts: 724
    Super.

    Maybe temp table and separate page, to avoid field.
    Follow me on my blog juhl.blog
  • krikikriki Member, Moderator Posts: 9,112
    Juhl wrote: »
    Your welcome.
    Let me know if it works, as I thought about it the other day.
    A shame you can't publish a codeunit endpoint.

    What do you mean with this?

    Best solution would be to create a codeunit and create in it a method Release or Reopen with a text as parameter. Publish that codeunit as a webservice and call it using SOAP.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • JuhlJuhl Member Posts: 724
    The post goes on not having to use SOAP but OData.

    And very relevant, as REST is often easier to use without proxyclass.
    And i would never mix the two. That would complicate things.
    Follow me on my blog juhl.blog
Sign In or Register to comment.