Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    May 2014
    Posts
    139

    Default Backoffice API, Event that fires when a new Client/Account is created manually from T

    Hello

    Please help me on this. I want to do some actions with backoffice API when a new Client/account is created in Backoffice terminal. What is the event in API that fires when this happens

    Thankks

  2. #2
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Edakad


    Quote Originally Posted by Edakad View Post
    Hello

    Please help me on this. I want to do some actions with backoffice API when a new Client/account is created in Backoffice terminal. What is the event in API that fires when this happens

    Thankks

    There are two events fired after created New Client :

    - NewClientCreated : Which triggered after any operation (New ,Update , Delete ) on the Account, Client, Office or Group

    - CreateClientResult : which triggered after calling CreateClient Method with a created client server result


    And there also two events fired after created new Account :

    - NewClientCreated : Which triggered after any operation (New ,Update , Delete ) on the Account, Client, Office or Group

    - CreateAccountResult : Which triggered after calling CreateAccount Method with a created account server result




  3. #3
    Senior Member
    Join Date
    May 2014
    Posts
    139

    Default

    Hello
    Thanks a lot, it appears I did not checked the documentation properly

    Now another issue. The event AccountHistoryReceived. This gives the histroy recods as list of CAccountHistory. Now for a money transaction, the comment in the transactindeos not come in comment field, rather it appears in Profit field. For trades it appears in comment field. Can u check this please. Also I doubt if it was made like this for some special purpose. please clarify

    Thanks

  4. #4
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    794

    Default

    Hello Edkad,


    We are working on solving this issue.


    As a workaround please check the following code.


    Code:
    Dim Comment as string
    Dim Profit as string
    If AccHistory.HisType = "DP" or AccHistory.HisType = "WD" or AccHistory.HisType = "AJ" or AccHistory.HisType = "CI" or AccHistory.HisType = "CO" Then
                Comment = AccHistory.Profit
    			Profit= ""
    Else
                Comment = AccHistory.Comment
    			Profit= AccHistory.Profit
    End If

  5. #5
    Senior Member
    Join Date
    May 2014
    Posts
    139

    Default

    Hi
    Thanks. Implement like that for now

  6. #6
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Edakad

    I'm glad to inform you that we solved your issue in version 11.0.23. Now the comment value is shown under comment property.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Account always created under one fixed client only
    By keval in forum VertexFX API/VTL Forum
    Replies: 6
    Last Post: 06-30-2016, 08:02 AM
  2. Client API - Clarification Regarding Account
    By Edakad in forum VertexFX API/VTL Forum
    Replies: 3
    Last Post: 02-09-2016, 06:48 AM
  3. client's data updation using VFX Backoffice API
    By Dilip in forum VertexFX API/VTL Forum
    Replies: 39
    Last Post: 01-24-2016, 07:09 AM
  4. Which Event handler fires first - OnCalculate or OnTick
    By Edakad in forum VertexFX API/VTL Forum
    Replies: 3
    Last Post: 06-05-2014, 08:22 AM
  5. Problem in appliation, account created for wrong client
    By zaid_86 in forum VertexFX API/VTL Forum
    Replies: 14
    Last Post: 12-09-2013, 08:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •