How about some of Lawson functions, Like: 1. isInChainOf CmdOfzEmpInHR(string company, string employee) 2. isSupervisorOf(string RDId) 3. isSupervisorOf EmpInHR(string Company, string employee) ?