Hello,
How can I get applications for payment object with REST Api? When I try to run such a query
I got such error:
Optimization cannot be performed.The following fields cause the error:\r\nApplicationHistory.AdjustedDocType etc
Hello,
How can I get applications for payment object with REST Api? When I try to run such a query
I got such error:
Optimization cannot be performed.The following fields cause the error:\r\nApplicationHistory.AdjustedDocType etc
Best answer by ruchikasharma23
Hi
To fix this error, you have the following options:
• If you do not need to retrieve the fields of the ApplicationHistory detail entity, you can exclude these fields and the ApplicationHistory entity from the request.
• If you need to retrieve the fields of the ApplicationHistory detail entity, you can retrieve the needed records one by one by the key fields
To learn about this error in detail and an example of the fix, you can refer to Page 18 & 28 of I320 course
https://openuni.acumatica.com/wp-content/uploads/2017/08/I320_WebServicesDataRetrievalAdvanced_2022R1.pdf
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.