Consider the following scenario:

  • You upgrade to Microsoft Dynamics GP 9.0.

  • You start Microsoft Dynamics GP 9.0.

  • In the Navigation Pane, you click Attendance Transactions in the HR & Payroll Lists section.

In this scenario, you receive the following error message:

Unhandled script exception: Wrong number of arguments passed to system 2808 from script 'VirtualField_AddToWindow'.


To resolve this problem, delete a record from the SY07210 table. To do this, follow these steps:

  1. Follow the appropriate step, depending on whether you are using Microsoft SQL Server or Microsoft SQL Server Desktop Engine (MSDE):

    • If you are using SQL Server, start SQL Query Analyzer. To do this, click Start, point to
      Programs, point to Microsoft SQL Server, and then click
      Query Analyzer.

    • If you are using MSDE, start the Support Administrator Console. To do this, click
      Start, point to Programs, point to
      Microsoft Administrator Console, and then click
      Support Administrator Console.

  2. Run the following statement against the DYNAMICS database.

    Delete SY07210 where DICTID = 414
  3. Verify that you do not receive the error message that is mentioned in the "Symptoms" section. To do this, follow these steps:

    1. In the Navigation Pane, click HR & Payroll Lists.

    2. Click Attendance Transactions.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!