Knowledgebase:
OrderByID
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 08 May 2017 12:06 PM

Syntax

Readonly Property OrderByID (ByRef OrderId As Integer) As VertexFXBOAPI.COOrder

This property is used to return an object of type COOrder using the order number.

Parameters

Parameter Description 
OrderId Order number to retrive order inforamtion for, value of type is Integer

Return value

Returns an object value of type COOrder.

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub Order_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Order.Click

   Dim vOrder As COOrder = BOAPI.OrderByID(54321)

   msgBox("Order Type : " & vOrder.OrderType & "Buy Sell : " & vOrder.BuySell)

 End Sub


See Also


VertexFX Backoffice API 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