cancel
Showing results for 
Search instead for 
Did you mean: 

How to maintain BO ExchangeRate in ByD?

abelousov
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

abelousov
Active Participant
0 Kudos

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

Former Member
0 Kudos

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. 🙂

abelousov
Active Participant
0 Kudos

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

Former Member
0 Kudos

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.