Knowledgebase:
ManageOrders
Posted by Mohammad Rahhal, Last modified by Angham Al-Banawien on 24 October 2016 10:10 AM

 

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


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions