Knowledgebase:
TransferClient
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 11 February 2018 02:03 PM

Syntax

 Function TransferClient(ByRef ClientID As Integer, ByRef ParentID As Integer)As CallingResultsEnum

This method will help you to organize the accounts tree, so you will be able to transfer a certain client/office node to another node in the account tree.
After TransferClient method executes the TransferResultRecieved event fire

Parameters

Parameter Description 
ClientID Associated client/office number that will be moved.Value of type is Integer.
ParentID Associated office/group the will be a parent of the ClientID.Value of type is Integer.

 Return value

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

Sample

 Public WithEvents BOAPI As CVertexFXBOAPI

Private Sub BtnTransfer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnTransfer.Click

    Dim sym As COSymbol
    Dim result As CallingResultsEnum
    Dim vClient As COClient
    vClient = m_oBOAPI.ClientByIndex(1)
    result  
= m_oBOAPI.TransferCliente(vClient.ClientID,BOAPI.RootID())

 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