common.js – Data.GetCompanyObjFromServer() – Object required (-2146827864)

This article replaces TK00103.

Error:

When you log into the Time & Expense portal and enter the user name and password, you receive the following error.

Unexpected Error: common.js - Data.GetCompanyObjFromServer () - Object required (-2146827864)

Causes:

  1. Project Cost is not registered.
  2. Multi-Currency is not setup as needed.

Resolutions:

Resolution 1:

Register Project Cost.

  1. Navigate to Project Cost | Utilities | Registration.
  2. Verify Project Cost is registered.
  3. If needed, register Project Cost by importing a token or using the online registration.

Resolution 2:

Verify the necessary Multi-Currency information is set up.

  1. Navigate to Microsoft Dynamics GP | Tools | Setup | System | Currency.
  2. Verify a Functional Currency is setup. In this example, we use Z-US$.
  3. Navigate to Microsoft Dynamics GP | Tools | Setup | System | Multicurrency Access.
  4. Select Z-US$ and allow access for each company.
  5. Leave the exchange table as it appears.
  6. Navigate to Microsoft Dynamics GP | Tools | Setup | Financial | Multicurrency.
  7. Select the Functional Currency.
  8. Select the Reporting Currency.
  9. Set the Default Transaction Rate Types.