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 fire.
||The procces ticket number, value of type is Integer.
||The ID of delivery Item ,value of type is String.
||Items number that need to be delivered,value of type is Integer.
||The department identifier to send the delivery order for, value of type Integer.
Note :The department must be branch type.
||String use to mark the deliver operation on the trading list.
Returns a value of type CallingResultsEnum.if the request sent to 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 VertexFXBOAPI.COOPosition
pos = API.OpenPositionByIndex(1)
Dim result As CallingResultsEnum
result = API.Deliver(pos.Ticket,”DeliveryItemID”,1, dep. DeptID,”Comment”)
VertexFX Backoffice API Index