on 06-06-2013 12:27 PM
Hi.
I'm trying to automate the import of changed exchange rates into the central table...but due of the case, that an ExchangeRate-BO is read only, I'm searching for another, possible solution...any idea out there?
Thank you,
Marc
Hi,
BO Exchange Rate is not released, and it is not supposed to be released. The design of currency & exchange rates requires a certain consistency between instances of that business object that hampers a direct usage in ByD Studio implementations.
Instead, a number of web services has been or will be provided to consume exchange rates.
I hope this gives some idea. For the problem described in the thread option 3 would be appropriate.
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ilaria,
I do not know if understand the question correctly. And, since I am not working in that area anymore I can just provide to ideas for further investigation:
Thomas
Well, I never used the ExchangeRate BO, but if what you can do is to get always the current exchange rate, you can use an ExternalWebServiceIntegration to use a public web service that gets you the current exchange rate, I don't know if that's what you're looking for.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Yes, that's what I want - we've a simple SOAP WebService which delivers actual exchange rates and we want to integrate this service into byDesign....but I'm not sure, where I had to interact with the system. I've looked into the ExchangeRate BO - but this object is 'read-only'...or could I 'extend' this BO to be able to interact with the web service?
Sorry, but I'm very new in byDesign development and didn't have the whole overview where to 'hook' in 😉
Thank you,
Marc
Hi,
Not really. You can create your own BO and populate it with the data from the webserivce. But it's not the same as updating the ExchangeRate BO. The ExchangeRate BO is internally used in all the financial applications and hence even if you create your own BO, the financial transactions still do not use the value stored in your own BO.
Best Regards
Anantharaman L
Hi.
Hmmm...I need to 'overwrite' the internal ExchangeRate BO so all other stuff inside ByD which uses this object will automatically get the 'live' exchange rates delivered by our webservice. But If I get your right, that's not possible, cause if I need to create my own BO, all other financial stuff won't use it - only my own stuff...?!
My idea:
If you use ConvertCurrency for example, ByD will use the internal ExchangeRate BO which lookup the core database table for the exchange rate. This value isn't up-to-date until you import a new migration template which actual rates put in that excel sheet. I hope I could hook the ExchangeRate BO so it take it's value from our webservice instead of the core table...
...alternativly, I find a way to periodic & automatically update the core table with the exchange rates...
Regards,
Marc
Hi,
Hooking up to the core table is not possible as ByD only exposes BOs and not any internal tables on which the BO is based on.
Also for the second approach where you'd like to populate the ExchangeRate BO via the external service, the BO should have been write enabled.
Best Regards
Anantharaman L
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.