Knowledgebase: > Properties
OpenPositionByTicket
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 09 September 2020 09:58 AM

Syntax

 Readonly Property OpenPositionByTicket(ByRef Ticket As Integer) As VertexFXBOAPI.COOpenPosition

Description

This property used to get COOpenPosition object by giving ticket number.

Parameters

Parameters Description
Ticket Associated ticket number,value of type is Integer.

Remarks  

You can get any open position using it is ID.

Return value

 Returns Object of type COOpenPosition

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub OPosition_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OPosition.Click

    Dim vPos As COOpenPosition

    Dim ticketID As Integer = 543216

    vPos = BOAPI.OpenPositionByTicket(ticketID)

    Msgbox("Position ticket number :" & vPos.Ticket & "Lots: " & Lots )

 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