I have a requirement to give rank based on the column value in table
Condition:
- prioritize JobType in the order of 1: 75, 2: 76, 3: 80 , 4: 64
- When there are two contacts with same JobType, prioritize RANK with OrderCount Desc
- Table also has other JobTypes that are not listed
- If there are other JobTypes, they should follow after matching the
above condition - If the customer doesn't have any matching JobTypes: 75, 76, 80 , 64 The rank should be on the basis of OrderCount
- JobType is associated with ContactPerson