Skip to Content

How to maintain BO ExchangeRate in ByD?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Apr 04, 2017 at 03:40 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 04, 2017 at 09:29 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 05, 2017 at 01:40 PM

    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. :)

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 05, 2017 at 07:02 PM

    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

    Add comment
    10|10000 characters needed characters exceeded