1
0
-1

Hi,

is it possible to get the Mastersoft Harmony service to return the fields addressLine1 and addressLine 2 as additional fields, when using the long address format?

I need to feed data into two different back end systems, that have different requirements; one requires short format, the other long format. So, rather than manipulating one or the other I was hoping to get all the required data in the service response.

Any ideas would be appreciated.

Thanks

Mark

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Mark, no you need to choose long or short.

      To achieve what you want you could either:

      1. Add your own data fields with calculation rules on them to achieve your custom requirements.
      2. Create the additional data fields in your Groovy delivery process.

      The relevant groovy code that creates the line 1 and line 2 data elements from the Mastersoft response is

      1. Mark Murray

        Hi Ben,

        I went with the first option and managed to get it working. I'll review that once I get the chance to build the form in Maestro; still not quite fixed about where best to do the processing, in the form or in the processing code.

        The code sample above offers some good ideas. I might build on that.

        Thanks

        Mark

      CommentAdd your comment...