Employee missing on the HR11?--deleted somehow?

 7 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
MichelleW
Basic Member
Posts: 20
Basic Member
    Had a good one come up this morning.  Payroll called and was trying to look up a well known active employee, the message says employee does not exist.  If I run a crystal report on the HR History file there is data there, its almost like they got deleted from the Employee table only..
    Only one of my security classes allow a Delete on the HR11-however when it is done on the Hr11 itself, the history goes with it as well so I am really stumped on this one!
    We have restored the employee from a back up file but anyone have any idea how we would find out how that employee got deleted???

    John Henley
    Posts: 3353
      If it was the entire table, and PAEMPLOYEE was intact, I would suspect database-level truncation (assuming the table structure was there, just no data).

      Perhaps via Lawson commands, bldxxxddl -UR or truncfile.
      Or truncate table via SQL.

      Reminds me of a time a client told me that the DBA had removed all of the indexes "because they were taking too much space".
      Thanks for using the LawsonGuru.com forums!
      John
      MichelleW
      Basic Member
      Posts: 20
      Basic Member
        the table itself was fine, just had one employee missing from it....HRHistory was there, PR history was there...very weird,
        we have eliminated the possiblity of someone running a HR125 on this employee...have no idea how this happened but will need to come up with something for the powers that be!

        John Henley
        Posts: 3353
          Was the employee deleted from PAEMPLOYEE?
          Thanks for using the LawsonGuru.com forums!
          John
          stephanie
          Veteran Member
          Posts: 330
          Veteran Member
            I know I should never say it can't be done, but I would've made a bet that it couldn't be done - through any normal channels, anyway!  Do any of your users have access to screen painting? Could someone have deleted instead of changed?
            wilcoxmad
            Veteran Member
            Posts: 87
            Veteran Member
              Does someone have access to SQL tools? Sounds like someone used something besides Lawson products to delete the employee.
              MichelleW
              Basic Member
              Posts: 20
              Basic Member
                the PAemployee information was there as well as the payrate history hr history...and no we do not have a screen painting program...still straching my head!
                John Henley
                Posts: 3353
                  In that case, I would have to suspect someone deleted via SQL.
                  Thanks for using the LawsonGuru.com forums!
                  John