Expression Rule Issue

Hi,

 

I have an requirement where i need to compare data from existing data in DB.

Example;

Table A having 1000 records. On UI i am showing some records(20) on basis of some filter criteria(2 Colmuns) . Now I am modifying 5 records (Update/Delete).

I need to put validation that combination of these two columns should be unique in DB.

Either i can do put validation on UI or through expression rule i can check in DB.

 

Please share some approach code on that. If possible can anyone share sample code also .

 

 

  Discussion posts and replies are publicly visible