Sage 100 Employee Data

SOLVED

Sage 100c 2019 Standard.  When I print a custom payroll crystal report I receive an error message that reads:

Error in File PR BPA CUSTOM

6352-15868-(107A04E2-6BCF-4F92-A9D7-89536928089E).rpt

Failed to retrieve data from the database.

Details: [Database Vendor Code: 1027]

This only occurs if I add PR_EMPLOYEEPIIWrk.State or PR_EMPLOYEEPIIWrk.ZipCode to the report.  If I leave these fields off, it works.

I have linked tables PR_EMPLOYEE and PR_EMPLOYEEPIIWrk, and have followed the instructions to add the report to the custom payroll menu.

Please advise.

Thank you.

Parents
  • 0

    How are the tables linked?

    Did you verify database?

    Are there fields besides State and ZipCode from PR_EMPLOYEEPIIWrk. on the report?

    The error means you are not accessing the PR_EMPLOYEEPIIWrk. table. 

    John Nichols

    Sage

  • 0 in reply to jcnichols

    Thank you for your input John.

    Yes, I verified the database.  It was successful.

    Yes, employee first and last name, address line 1, and city are on the report.  They can only come from PR_EMPLOYEEPIIWrk.

    Interestingly, I found that the standard employee name and address listing comes up blank.  I am able to view each employee on the screen, and I did just to confirm that there was a state and zip code value for each employee.

  • 0 in reply to Robert Braunlich

    Hi, the standard employee name and address listing should not return blank when run from the Sage 100 menu. If you can view the employee data on screen but not on the reports check and see if ODBC security is set on those employee fields.  From windows explorer browse to \MAS90\MAS_ABC\PRABC (where ABC is your company code) and delete all instances of PR_EMPLOYEEPIIWrkXXXXXXXXXX this XXX's refer to the session information.  If you can attach your .RPT to this thread I'll take a look. 

    John Nichols

    Sage

Reply
  • 0 in reply to Robert Braunlich

    Hi, the standard employee name and address listing should not return blank when run from the Sage 100 menu. If you can view the employee data on screen but not on the reports check and see if ODBC security is set on those employee fields.  From windows explorer browse to \MAS90\MAS_ABC\PRABC (where ABC is your company code) and delete all instances of PR_EMPLOYEEPIIWrkXXXXXXXXXX this XXX's refer to the session information.  If you can attach your .RPT to this thread I'll take a look. 

    John Nichols

    Sage

Children