Posted by Mohammad Rahhal, Last modified by Diana Alkouni on 27 August 2020 12:40 PM


 Public Function Deliver (Ticket As Integer, DeliveryItemID As String, NumberOfItems As Integer, DepID As Integer,Optional Comment As String = " ") As CallingResultsEnum


This function delivers the physical items for specific symbol. After Deliver method executes the DeliveryResultReceived event fires.


Parameter Description 
Ticket The procces ticket number, value of type is Integer.
DeliveryItemID The ID of delivery Item ,value of type is String.
NumberOfItems ems number that need to be delivered,value of type is Integer.
DepID The department identifier to send the delivery order for, value of type Integer.
Note :The department must be branch type.
comment String use to mark the deliver operation on the trading list. 

Return value

Returns value of type CallingResultsEnumIf the request sent to the server successfully it will return SuccessResult.


 Private Sub API_DepartmentsResultReceived(ByRef Departments As CDepartments, ByRef Count As Integer) Handles API.DepartmentsResultReceived

      If Count > 0 then
           For i As Integer = 0 To Count -1
               Dim dep As CDepartment 
               dep = Departments.Item(i)
               if dep.IsBranch then

                   Dim pos as VertexFXClientAPI.COOPosition
                   pos = API.OpenPositionByIndex(1)
                   Dim result As CallingResultsEnum
                   result =  API.Deliver(pos.Ticket,”DeliveryItemID”,1, dep. DeptID,”Comment”)
       end if
      End if

 End Sub

See Also

VertexFX Client 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