Question

IFS Cloud22R2 - How to create a location and retrieve Map Position from map_position_tab in one go

  • 6 July 2023
  • 0 replies
  • 77 views

Userlevel 3
Badge +9

I have a custom REST API(POST) for an integration process.
In this process, I need to pass a Post Code and create a location and retrieve Map Position (latitude/longitude).
This can be done using standard method Location_Party_Address_API.Create_Location_With_Address(). Above method again calls a method Map_Position_API.Retrieve_Map_Position() and it has a call to an external REST API.
Problem here is, when I call my custom REST API, other external REST API (Geocode Request Sender) executes in a separate session and my custom REST API call cannot see the data created from Map_Position_API.Retrieve_Map_Position().
Just after the POST, it commits Map Positions into map_position_tab 

Do we have any other core methods/workaround where it is possible to create a location in IFS and retrieve Map Position latitude/longitude in one go?
 


0 replies

Be the first to reply!

Reply