Adds new Order to the Database
[Visual Basic] Public Function AddOrder( _ ByVal Contact As Contact, _ ByVal Contact As Contact, _ ByVal Page As Page _ ) As Order [C#] public Order AddOrder( Contact Contact, Contact Contact, Page Page ); [C++] public: Order* AddOrder( Contact* Contact, Contact* Contact, Page* Page ); [JScript] public function AddOrder( Contact Contact, Contact Contact, Page Page ): Order;
New Order Object for Transaction
Price is set to 0 due to the fact that no OrderItems are yet provided. OrderItems have to be added to the Order afterwards. Shipping and Billing Contact are freshly saved to the Database. If not same Object 2 Datarows are created.
Exception Type | Condition |
---|---|
InvalidCredentialException | Indicates that no Authorization Context was provided |
Mandantor Class | ppm3dakClient.Shop Namespace | Mandantor.AddOrder Overload List