Author |
Topic: Get Balance (4 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
CWhite140 Posts: 9 Joined: Feb 28, 2013 |
I've reviewed advanced example. I notice that we don't get the account balance until we change the account.
How do we trigger those events at the form load so that balances show correctly? It looks like we can use Globals.CurrentAccountOrAB. I.e equivalent to request balance Curtis White Edited by CWhite140 on Feb 6, 2014 at 17:30:54 |
||||
VictorV Posts: 746 Joined: May 08, 2007 ![]() |
Majority of OECAPI functionality works as "pull model" - you don't need to request information, it is loaded to OECAPI instance after connect and keeps updated automatically. Balance is such data that updated without requests from client applications.
Victor Vins Lead Software Developer |
||||
CWhite140 Posts: 9 Joined: Feb 28, 2013 |
Yes but the advanced example doesn't work. The balance is shown to be blank until the account is changed.
Curtis White |
||||
VictorV Posts: 746 Joined: May 08, 2007 ![]() |
I believe you mixed up request to API and server and an event to populate user interface
Victor Vins Lead Software Developer |
||||