## if you want to display department name create transient attribute and then use below grrovy expression at VO level.
if(DepartmentId !=null && departmentViewAccessor.first()!=null) { departmentViewAccessor.first().getAttribute("DepartmentName"); }
#{bindings.NoOfEmployee.inputValue==0}" to diasble
LovAccessorName.count("KeyAttributeName") -- gives count of VC filtered rows
if(DepartmentId !=null && departmentViewAccessor.first()!=null) { departmentViewAccessor.first().getAttribute("DepartmentName"); }
DepartmentId -- attribute Name
departmentViewAccessor -- view accessorr name
if we edit view accessor passing DepartmentId value to it as a parameter.
#{bindings.NoOfEmployee.inputValue==0}" to diasble
LovAccessorName.count("KeyAttributeName") -- gives count of VC filtered rows