Knowledgebase: > Methods
Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 10:13 AM


 Public Function ManualDeleteLimitOrder (AccountID As Integer, OrderIDs As String, TransTag As String) As CallingResultsEnum


This function is used to cancel an entry order without the need to select an account, after ManualDeleteLimitOrder method executes the DeleteLimitOrderResult event will fire.


Parameter Description 
AccountID Account number which is required to cancel an entry orders for, value of type is Integer.
OrderIDs Orders number to be canceled, value of type is String.
TransTag String value to mark the deleted limit order operation when the result returns from the server.

Return value

Returns value of type CallingResultsEnum. If the request was sent to the server successfully, it will return SuccessResult.


 Private Sub DeleteLimit_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteLimit.Click 

   ‘BOAPI is predefined variable as CVertexBOAPI  

   Dim Result as CallingResultsEnum
   Dim vOrder as COOrder
   Dim vAccount as COAccount
   Dim vClient as COClient

   vAccount = BOAPI.AccountByIndex (vClient.ClientID,1) 
   vOrder= BOAPI.OrderByIndex (1)
   Result=BOAPI.ManualDeleteLimitOrder(vAccount.AccountID, vOrder.OrderID, ”Delete limit by BOAPI”)
   Msgbox (Result.ToString) 

 End sub

See Also

VertexFX Backoffice API Index

(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
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