Resolve below listed issues in Affiliated Service Master screen.

1) Duplicate code validation is required in add and update.
2) Duplicate name validation is required in add and update.
3) referred data when deleted should give validation.
4) Non referred data when deleted actually delete the data from search screen.
5) Inactive checkbox to be provided in add and edit mode.
6) non mandatory fields to not validate when deleting referred data.