Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 25 August 2020 09:46 AM


 Public Function ManualDeleteSLTPOrder(AccountID As Integer, OrderIDs As String, Optional TransTag As String = "") As CallingResultsEnum


This function is used to delete a managed order without the need to select an account. After ManualDeleteSLTPOrder method executes the DeleteSLTPOrderResult event fires.


Parameter Description 
AccountID Account number to delete the managed order for, value of type is Integer
OrderID Order number to be deleted, value of type is Integer
TransTag String value to mark SLTP order as deleted when the result comes from server

Return value

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


 Private Sub DeleteSLTP_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteSLTP.Click

   ‘BOAPI is predefined variable as CVertexBOAPI 

   Dim Result as CallingResultsEnum

   Dim vOrder as COOrder
   Dim vAccount as COAccount
   vAccount = BOAPI.AccountByIndex (1)

   vOrder = BOAPI.OrderByIndex (1)
   Result = BOAPI.ManualdeleteSLTPOrder(vAccount.AccountID,vOrder.OrderID,“Delete SLTP 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