OrderGetInteger
Posted by Angham Al-Banawien, Last modified by Mohammad Alawneh on 08 July 2019 12:28 PM

Syntax

Public Function OrderGetInteger(ByVal property_id As ENUM_ORDER_PROPERTY_INTEGER) As Long.

Description

This function is used to return value of type Integer that is corresponding at the order property for the selected order through SelectOrderByIndex or SelectOrderByID

Parameters

Parameter  Description 
property_id

Property that wants to get its value. It can be one of the ENUM_ORDER_PROPERTY_INTEGER.

Return value

Returns the requested order property value as value of type Integer.

Sample

 Public Sub main()   

     Dim Select_Result as Boolean
     Dim value as Long 

    Select_Result = ClientCode.SelectOrderByIndex (1) ’select the first order at trade list
   If Result = true then 
   value = ClientCode.OrderGetInteger (VTLGeneral.ENUM_ORDER_PROPERTY_Integer.ORDER_OPERATIONT_TYPE)
      GUI.MsgDialog(“Order operation type:” & value) 
   End If

  End Sub

 


See Also


Back to VTL Server 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