Transaction ChangeOrderAddress
Authentication mode: Checked (known user, must have the privilege)
Database access mode: updating
Mildly privileged users: change the delivery and/or invoice address of an order.
Inputs:
- orderid: int
the ID of the order, this is mandatory
- setinvoiceaddr: bool
if true: the value in invoiceaddr is actually used, if false: the invoice address is left unchanged
- invoiceaddr: int
the ID of the invoice address, <0 for deleting the invoice address
- setdeliveryaddr: bool
if true: the value in deliveryaddr is actually used, if false: the delivery address is left unchanged
- deliveryaddr: int
the ID of the delivery address, <0 for deleting the delivery address
Outputs:
- order: Order
the order after the change has become active.