ManageOrders
An object that holds the manage orders related to a specific ticket
Properties
Part | Description |
Orders | Get order number based on its index. For example ManageOrders.Orders(1) |
Ticket | Get ticket number that is related to managed orders |
Count | Number of managed orders. |
Sample
Public Sub main() If AccountInfoInteger(ACCOUNT_LOGIN) Then If RequestManageOrders (3666) Then AlertMessage "The Request has been sent to the server to get all manage orders related to ticket number 3666 " Else AlertMessage ErrorDescription(GetLastError()) End If End If End Sub'This event raised when calling RequestManageOrders method successfully Public Sub OnManageOrdersReceived(manageOrders) Dim i' Receiving Manage Order related to Ticket 3666 For i=1 To manageOrders.Count() AlertMessage CSTR(manageOrders.Orders(i)) Next End Sub
See Also