HR11 Paintscreen

Sort:
You are not authorized to post a reply.
Author
Messages
Heinrich
New Member
Posts: 1
New Member

    I have done several paintscreens in Finance. Typically an OBJ-ID pointer gets "whacked" and is off by one, and it's easy to make a paintscreen, update the obj-id, and Lawson is happy.

    Not so with the HR11 record.

    I am getting a StoreDB error Duplicate Record with a particular company, employee, OBJ-ID, field number, date and sequence number (0000).

    When I build a paintscreen and flip to that employee, I cannot find that object ID.

    I admit I do not fully understand the layout of the HR11 record, which is probably a big part of why I am lost
    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      It sounds like the error you are getting is for HRHISTORY not EMPLOYEE. when you painted the screen, did you pick fields from HRHISTORY?

      HR11 uses some hidden fields as well as the effective dates to make history updates, so you may need those fields on you form as well.

      Also, it would help if you could explain what you're trying to accomplish with your paintscreen...
      Thanks for using the LawsonGuru.com forums!
      John
      You are not authorized to post a reply.