Last activity: 14 Jun 2021 7:38 EDT
How to check uniqueness of data class instance?
I have a Manager portal with a custom Repeating grid layout which displays instances of my custom Org-App-Data-Person internal class.
Data source is a report definition.
Person has a ID (database identifier), PID (mast be unique), name, surname.
I can add and update the values through a local action on the Repeating grid layout, but I can't check if there is an item with the same ID or PID in the table.
How can I check and show an error message on local action section if there is already an item in a database with the same ID or PID?
***Edited by Moderator: Pallavi to move from Pega Academy to Product***