Skip to Content
0

How to maintain BO ExchangeRate in ByD?

Apr 03, 2017 at 08:45 PM

100

avatar image

Hello Everybody,

As it is known ExchangeRate is a protected business object, and so there is no possibility to add / delete / update its instances programmatically.

We created an External Web Service, but it appears there should be a URL of development tenant in some properties of the Web Service. So, this solution does not work in any other tenant (in particular, after transporting into productive tenant).

What solution is there possible?

Thank you in advance.

Aleksei

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Dan Edelman Apr 04, 2017 at 03:40 PM
0

Aleksei,

To update the ByDesign Exchange Rate object, you need to use the Internal Manage Exchange Rate In web service and send messages to that endpoint. There's an out-of-the-box web service operation for this that you can use in a Communication Scenario that you create in the Cloud Application Studio. You should be able to see it in "Inbound Service Interfaces" in the Repository Explorer.

Share
10 |10000 characters needed characters left characters exceeded
Aleksei BELOUSOV Apr 04, 2017 at 09:29 PM
0

Thank you Dan,

As far as I understand we just use Manage Exchange Rate In Inbound Service Interface.

We created External Web Service Integration (outbound) to send a message into the end-point (I suspect the end-point URL itself includes development tenant URL).

Next we have to create a Communication System and a Communication Arrangement. Anyway both have the tenant URL in their properties.

I suppose it will not work after transferring to productive tenant.

We would just want to send the message to interface Manage Exchange Rate In from the same application (tenant), independently of the tenant. We would like to initiate the sending inside of our ByD, not from an external application.

It is possible I do not understand all the mechanism properly. Please, are there any ideas?

Perhaps, it could be the best solution if we could carry out the sending in ABSL code.

Best regard,

Aleksei


byd5.jpg (69.9 kB)
byd6.jpg (20.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
Saurabh Sharma Apr 05, 2017 at 01:40 PM
0

Yes, you have to execute this service inside your ABSL code. Yo first need to create an external service integration and consume the WSDL file of this service inside your solution and then write the code to execute this external integraion.

There are lot of blogs available for this in SCN. :)

Share
10 |10000 characters needed characters left characters exceeded
Aleksei BELOUSOV Apr 05, 2017 at 07:02 PM
0

Thank you Saurabh,

For now we have implemented that just as you described.

If no simplier solution exists, it means the transferring problem remains, unfortunately.

Best regards,

Aleksei

Share
10 |10000 characters needed characters left characters exceeded