Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Soeren Sprogoe 575 posts 259 karma points
    Dec 08, 2010 @ 13:42
    Soeren Sprogoe
    0

    Change order status via API

    Any tips on how to change a PurchaseOrder's status via the API?

    Can't seem to find a specific method for it.

    Do I just set PurchaseOrder.OrderStatus to a new one?
    Is the audit automatically updated to reflect this?
    And are any associated pipelines automatically executed, or do I need to this manually?

    Best regards,
    Soeren Sprogoe

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 08, 2010 @ 13:47
    Søren Spelling Lund
    0

    You can use the OrderService class. It's got a method called ChangeOrderStatus. Audit trails will be updated accordingly if you go through that.

  • Soeren Sprogoe 575 posts 259 karma points
    Dec 08, 2010 @ 14:27
    Soeren Sprogoe
    0

    Excellent, works like a charm :-)

    /SoerenS

Please Sign in or register to post replies

Write your reply to:

Draft