Forum Discussion

KellyHall's avatar
3 years ago

Something's gone wrong and AccountRight needs to close - exporting data

Keep getting the above error message when trying to export purchases data so I can import to a new file.

 

Here is the error Log

AccountRight Application Error Report
=====================================
Application Version: 2018.2.20.8598
Application File Version: 2018.2.21.806
Incident Id: 2f1a4449-3d4d-478d-b0ab-342ded23e113
Time: Thursday, 19 July 2018 1:57:39 PM

Code:
System.InvalidOperationException


Message:
The null value cannot be assigned to a member with type System.Decimal which is a non-nullable value type.


Stack Trace
----------------------------------------
1 : System.InvalidOperationException
----------------------------------------
System.InvalidOperationException: The null value cannot be assigned to a member with type System.Decimal which is a non-nullable value type.
at mscorlib!0x060055b4!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x060055bf!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x06000001!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x06001418!MYOB.Huxley.Service.Proxy.Services.ProxyPurchaseRegisterContainerService.GetAllPurchaseRegisterSummary(IEnumerable`1 objectSetVersions, Nullable`1 cardId, Nullable`1 from, Nullable`1 to) +0x0
at Huxley.UI.Decorators!0x060005af!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIPurchaseRegisterContainerService.MYOB.Huxley.ApplicationServices.Container.API.IPurchaseRegisterContainerService.GetAllPurchaseRegisterSummary(IEnumerable`1 objectSetVersions, Nullable`1 cardId, Nullable`1 from, Nullable`1 to) +0x58
at Huxley.UI.Model!0x06003b6f!MYOB.Huxley.UI.Model.Context.PurchaseRegisterContext.<>c__DisplayClass1.<GetAllPurchaseRegisterSummary>b__0() +0x0
at Huxley.UI.Model!0x060000b3!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x5f
at Huxley.UI.Model!0x060001a0!MYOB.Huxley.UI.Model.Context.PurchaseRegisterContext.GetAllPurchaseRegisterSummary(Nullable`1 cardId, Nullable`1 from, Nullable`1 to) +0x2f
at Huxley.UI.Controllers!0x06002339!MYOB.Huxley.UI.Controllers.Purchases.PurchaseBillControllerView.DoWork(DoWorkEventArgs e) +0x45
at Huxley.UI.Controllers!0x06000250!MYOB.Huxley.UI.Controllers.Base.BasePresentationController`1._worker_DoWork(Object sender, DoWorkEventArgs e) +0x0
at System!0x06003083!System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) +0x19
at System!0x06003093!System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument) +0xe
==========
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2018.2.20.8598, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ab04cd8294a04273b81ae660652f4d4d; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2018.2.20.8598, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:7d10411c1bac4e17bc9453afb465e5cc; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2018.2.20.8598, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:78bcd4898b8248e6997dee412557d9e0; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2018.2.20.8598, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2c1a001a76d24dc294ccdc2fe9424642; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2018.2.20.8598, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:dd8ecb68a2ea401c8560da7b71b1d309; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:50a0ede641fb4ba29c84bcd5e77f702c; A:2
MODULE: System => System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:943684c67b1a4a08b1a15f018253d2af; A:2

----------------------------------------

 

7 Replies

Replies have been turned off for this discussion
  • Sam_R's avatar
    Sam_R
    Former Staff

    Hi KellyHall,

     

    Thank you for your post. 

     

    This may require a script to run over it to resolve - could you please provide the last 4-digits of your serial number and the Company File ID this relates to? (Help>About MYOB AccountRight)

    • Thanks Sam.

      Company file ID - 5

      Last 4 digits of serial number - 5897

       

       

      • Sam_R's avatar
        Sam_R
        Former Staff

        Hi KellyHall,

         

        Apologies, I seem to only find the serial number ending 5002. Could you instead send me a private message with your full serial number?