i try to learn crm and plugin development, but there is still so much i don't know and so i following exercise from pdf and the problem is i can't keep up from the tutorial, i have Credit Limit entities which have 3 field its a cretid rating which is enumerable(a,b,c), credit limit(money) and configuration(lookup). so the scenario is :
We need a plugin to ensure that we can only link 1 credit limit per credit rating to each configuration entity, so example contoso can only have one credit limit which belong to one rating, so if contoso have $5000 credit limit that belong to creding rating B, he can't have another credit rating that belong to rating B. so from my understanding first we need a list of rating where belong to configuration, and then we need to validate if rating already exist in that configuration we will throw exception. but i don't know how to do that ? Can someone give me some example Thanks
*This post is locked for comments