1 Reply Latest reply on May 7, 2018 4:19 PM by Nico Heinze

    Logic required to externalise the employee no

    vinay prasanna New Member

      Hi All,

      I have a below scenario

       

      Assuming that there are 3 departments,

       

      For employee no 100 I want to all the departments

      For employee no 200 I want dept 1,2

      For employee no 300 I want only dept 3

       

      In future if some employees needs dept 1,2 I should be able
      to accommodate this without changing the code.

       

      Please suggest efficient code for this.

       

      Thanks

      Putu