GST/VAT Rate Error: TargetInvocationException

GST/VAT Rate Error: TargetInvocationException

Issue / Error Message:

When opening a forecast, the following error occurs:

 

TargetInvocationException

Exception has been thrown by the target of an invocation.

NullReferenceException

Object reference not set to an instance of an object.

   at Forecast5.Model.Record.get_SalesTaxRate()

   at Forecast5.Model.PnLRecord.Calculate(Currency currency, Budget budget)

   at Forecast5.Model.Calculator.Calculate(BudgetDependedCalculatable cal, IEnumerable`1 currenices, IEnumerable`1 budgets)

   at Forecast5.Model.Record.Calculate(Boolean calculateReferencing, Boolean calculateSystemRecords)

   at Forecast5.Model.CustomizableRecord.Calculate(Boolean calculateParent)

   at Forecast5.Model.CustomizableRecord.EntityCreated()

   at Forecast5.Model.ForecastEntity.Save()

   at Forecast5.Model.CostsRecord..ctor(Node node)

 

Solution:

If the error above occurs go to settings, select GST rates and make one of the rate the default - normally 15% for NZ.

If the issue repaets the problem may be related to a miss conversion.


    • Related Articles

    • GST Cash Payments Opening Balance

      Issue: When using the GST Scheme of Cash Payments, there is no way to accomodate for opening entry.   Solution: Set to Manually Entered to enter the opening payment. The rest of the process will stay the same.
    • Exception: Cannot get computer id

      Issue: When trying to open Forecast 5, you get the following error: Exception Cannot get computer id Cause: Forecast 5 requires a computerid in order to license successfully. If the id cannot be read for any reason, the exception will occur. ...
    • TypeInitializationException: A network-related or instance-specific error... [Error: 26]

      Issue: You receive the following error when trying to login to Forecast 5. Forecast 5 cannot continue because of an exception occurred. SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified. Cause: This error indicates that ...
    • SQLException: A network-related or instance-specific error... [Error: 52]

      Issue: Forecast 5 cannot continue because of an exception occured: SqlException Solution:   This error is generally caused because the Forecast 5 cannot find the SQL Server you are trying to connect to. Please check that your computer can see the SQL ...
    • Import Error: SQL Exception: Incorrect Syntax near "s"

      Issue: Receiving this error message when trying to import records, sections or folders. SQL Exception Incorrect Syntax near "s" Unclosed quotation mark after the character string 'WHERE' This error is caused because there is a single quote character ...