I am trying to enter an Expense in the Dynamics 365 Unified Operation mobile App, but I am getting this error.
The value '5637144587' in field 'Location' is not found in the related table 'Travel locations'
So it would seem to me that the application is trying to insert a record into the table TrvExpTrans with the value 5637144587 in the field TrvLocations
But I have tried to debug D365FO on the insert trigger of TrvExpTrans, and the debugger does stop on the code, but the field TrvLocations does not contain that value, and no other field seems to have that value ether.
And it does look like a record is created in the table, (After several retries in the Mobils App I now have several records in the table)
But I am still getting the error in the mobile app, and I am not able to enter any new expenses.
I have also tried to debug the actual Mobile App using the method mentioned in this (https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/mobile-apps/platform/mobile-platform-home-page)
But I have not figured out where in the Java code its actually getting the error, or where its trying to send the data to D365FO.
No changes had been made to the code in D365FO or the Mobile App.
D365FO is version Update24 (7.0.5179.35390)
And the Mobile App is version Version 2.2.4 on Android.