Knowledgebase:
OrderType
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 01:14 PM

Syntax

Public Function OrderType() As Integer

This function is used to return the order type for selected order as ENUM_ORDER_TYPE

Parameter

No Parameters.

Return value

Returns an integer value of type ENUM_ORDER_TYPE. If -1 is returned, then call GetLastError() function to get error.

Sample

 Public Sub main ()
 Dim Order
 Order = OrderGetID (1)
 OrderSelect (Clng (Order))‘Returns True if order selected successfully  
 AlertMessage OrderType () ‘returns Symbol name for selected order
 End sub


See Also


Back to VTL Client Script Index

(0 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