Hi , I have a scenario, One Request can have multiple line items, and i have to add line items data manually. I have one field from line item naming Item Number which is of type String. This Item Number field has to be Unique. I’m committing the object on click of submit button. I tried giving Unique validation in entity validation rules itself but it is not working. Is there any way to achieve it? Thanks and Regards, Srihitha.
Are you committing the Line items too, or only the Request object?
Committing only the Request object does not commit the line items automatically, that's why the validation does not check for uniqueness.