Hi,
I create a Custom API using AL. I would like to work with nested loop in the api. I tried in many times, the nested loop is not working. Kindly help me to solve.
Here the code for reference.
Code:
Thank you for your response. I refer the sample way, but it cannot get it
2 things. Not sure I understand why you loop through the employees api for an employee record. Surely that’s one record. If you find the standard employee api doesn’t have enough fields just create a new one based in the original with your fields.
For page parts it is recommended to use a guid field for the pagelink: docs.microsoft.com/.../devenv-develop-custom-api
Sohail Ahmed
2,655
Mansi Soni
1,574
YUN ZHU
1,453
Super User 2025 Season 1