Skip to main content
10 respostas
  1. 19 de abr. de 2024, 05:47

    Hello @Rohit Arora that is kind of an old post, but there is an issue with your class.

    The updateLeftEmpCountOnAcc shouls be declared in EmployeeTriggerHandler class scope, not directly in the checkEmployeestatus as it has been done so far.

    As the code is not correct, the classes cannot be saved, the trigger cannot reference the class method. Thus nothing happens when an employee is deleted.

    For information @Priyanga Priyadarshini

    Eric

0/9000