Copied to clipboard

Flag this post as spam?

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


  • Peter Rombouts 71 posts 265 karma points
    Sep 20, 2013 @ 14:50
    Peter Rombouts
    0

    Get Member by Order

    I'm trying to do something with orders, after the status has been changed.

    I have the following code in place:

    public class ApplicationStartup : ApplicationEventHandler
    {
        public ApplicationStartup()
        {
            NotificationCenter.Order.OrderStatusChanged += Order_OrderStatusChanged;
        }
    
        void Order_OrderStatusChanged(Order order)
        {
            // Get the member of this order and do stuff...
        }
    }

    How do I get the associated member with this order?

    Is this simply order.CustomerId?
    And does this represent the NodeID of the member?

    Thanks in advance,

    Kind regards,
    Peter Rombouts

  • Anders Burla Johansen 2560 posts 8256 karma points
    Sep 20, 2013 @ 16:07
    Anders Burla Johansen
    100

    That is order.CustomerId. And that would be the id of the member (which is a node i think)

    Kind regards
    Anders

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies