Article Details
Id:9702
Product:finPOWER Connect
Type:FIX
Version:1.04.05
Opened:22/02/2012
Closed:22/02/2012
Released:02/03/2012
Job: J009054

Suspense Items; may cause an "Object reference not set to an instance of an object" error

When using the Business Layer object "finBankAccountSuspenseItems" to review Suspense Items, calling the "Refresh" method may cause an "Object reference not set to an instance of an object" error to occur.

This occurs if the date and value ranges have not been set.

This issue has been corrected, but as a workaround, add this code prior to calling Refresh.

SuspenseItems.DateRange = finBL.Runtime.CreateDateRange()
SuspenseItems.ValueRange = finBL.Runtime.CreateNumberRange()