Forum Discussion

Willmo1's avatar
Willmo1
Contributing User
7 months ago
Solved

Cant open Employee card

Hi I am getting an error message trying to open an employee card.

below error message, can you fix up for me please.

 

AccountRight Application Error Report
=====================================
Application Version: 2023.10.1.7
Application File Version: 2023.10.1.12
Incident Id: 02ddd347-4c3c-4382-a9a6-89c7a37579c5
Time: Friday, 1 December 2023 10:38:40 AM

Code:
Unknown (0)


Message:
(Unknown): ShowUIView(CardDetail,...,...)


Stack Trace
----------------------------------------
1 : MYOB.Huxley.API.HuxleyApplicationException
----------------------------------------
MYOB.Huxley.API.HuxleyApplicationException: (Unknown): ShowUIView(CardDetail,...,...) ---> MYOB.Huxley.API.HuxleyApplicationException: (DataNotUniqueError): More than one EmployeePayrollDetails exists for employeeId = 2216
at mscorlib!0x06005862!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x0600586d!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x06001a2b!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x06000337!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0
at Huxley.UI.Decorators!0x06002aec!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIICardContainerService.MYOB.Huxley.ApplicationServices.Container.API.ICardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x54
at Huxley.UI.Model!0x06004059!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass7_0.<GetContainerObjectByType>b__0() +0x0
at Huxley.UI.Model!0x06003ad6!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60
at Huxley.UI.Model!0x0600383f!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34
at Huxley.UI.Controllers!0x060021ce!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0
at Huxley.UI.Controllers!0x06001177!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33
at Huxley.UI.Forms!0x06003250!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63
at Huxley.UI.Forms!0x060022ec!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9
at Huxley.UI.Forms!0x06002345!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228
at Huxley.UI.Forms!0x06002341!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa
at Huxley.UI.Forms!0x06001f7e!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122
at Huxley.UI.Framework!0x06000175!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88
at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa
at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a
--- End of inner exception stack trace ---
at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0xa3
at Huxley.UI.Forms!0x060030f2!MYOB.Huxley.UI.Forms.Cards.CardsGrid.OnCustomNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, BeginNotificationRefreshMethod refreshMethod) +0x0
at Huxley.UI.Forms!0x06002301!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.RaiseNavigationEvent(UIViewType uiViewType, EntityInfo eInfo, Boolean showAsDialog, Boolean causeRefresh) +0x33
at Huxley.UI.Forms!0x06003128!MYOB.Huxley.UI.Forms.Cards.CardsGrid.LaunchDetail(UICardSummary editCard) +0x3b
at Huxley.UI.Forms!0x060030fe!MYOB.Huxley.UI.Forms.Cards.CardsGrid.grdvCardsList_DrillDownClicked(Object sender, DrilldownClickedArgs e) +0x16
at Huxley.UI.Controls!0x0600047e!MYOB.Huxley.UI.Controls.External.ExtGridView.InvokeDrillDownClicked(Object row) +0x21
at Huxley.UI.Controls!0x060004a2!MYOB.Huxley.UI.Controls.External.ExtGridView.ExtGridView_Click(Object sender, EventArgs e) +0xe8
at DevExpress.XtraGrid.v17.1!0x060004a5!DevExpress.XtraGrid.Views.Base.BaseView.RaiseClick(EventArgs e) +0x19
at DevExpress.XtraGrid.v17.1!0x06000117!DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnClick(MouseEventArgs ev) +0x7
at DevExpress.Utils.v17.1!0x06002738!DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args) +0x8e
at DevExpress.XtraGrid.v17.1!0x060000e8!DevExpress.XtraGrid.Views.Base.Handler.BaseViewHandler.ProcessEvent(EventType etype, Object args) +0x22
at DevExpress.XtraGrid.v17.1!0x0600216d!DevExpress.XtraGrid.GridControl.OnClick(EventArgs ev) +0x33
at System.Windows.Forms!0x06001250!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0xf2
at System.Windows.Forms!0x06001260!System.Windows.Forms.Control.WndProc(Message& m) +0x49f
at DevExpress.XtraEditors.v17.1!0x06001445!DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m) +0x67
at DevExpress.XtraGrid.v17.1!0x0600214e!DevExpress.XtraGrid.GridControl.WndProc(Message& m) +0xbb
at System.Windows.Forms!0x060063eb!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
at System.Windows.Forms!0x060063ee!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
at System.Windows.Forms!0x0600314d!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25
==========
MODULE: DevExpress.Utils.v17.1 => DevExpress.Utils.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:b8c34c059b804930811d5f6d50999b6c; A:1
MODULE: DevExpress.XtraEditors.v17.1 => DevExpress.XtraEditors.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6df94e55f5bd4444b910d4b2a37076a4; A:1
MODULE: DevExpress.XtraGrid.v17.1 => DevExpress.XtraGrid.v17.1, Version=17.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a; G:6a6f2858c181409aa7c4eb6bd501ac5f; A:1
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4794e958350a4bce99f15e2fa90efdce; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:730d55b190294064af7300df2cd2ea7f; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:8d4a39037e2c4ef1bf5afb679302eaec; A:1
MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:2685c97948034514b8d4688baa907c32; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:d48cc9fbb4634284ab69dce446727bdf; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:b48b888bc58044c495ee5394bfd0d2b7; A:1
MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ace58851546c43cf9e4ef8256b46c8d5; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:c7af5ed4047d4bed9e24347483a32b46; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:6124afa4bc7342b581f1f084ae850486; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:4f38ceb21d204c87b3ee28d3e54c7dcb; A:1

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

2 : MYOB.Huxley.API.HuxleyApplicationException
----------------------------------------
MYOB.Huxley.API.HuxleyApplicationException: (DataNotUniqueError): More than one EmployeePayrollDetails exists for employeeId = 2216
at mscorlib!0x06005862!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x0600586d!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x06001a2b!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x06000337!MYOB.Huxley.Service.Proxy.Services.ProxyCardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x0
at Huxley.UI.Decorators!0x06002aec!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIICardContainerService.MYOB.Huxley.ApplicationServices.Container.API.ICardContainerService.GetContainerObjectByType(IEnumerable`1 objectSetVersions, CardType cardType, Int32 id) +0x54
at Huxley.UI.Model!0x06004059!MYOB.Huxley.UI.Model.Context.CardContext.<>c__DisplayClass7_0.<GetContainerObjectByType>b__0() +0x0
at Huxley.UI.Model!0x06003ad6!MYOB.Huxley.UI.Model.Context.Base.UIContextContainer`2.InvokeContainerGet(Func`1 getFunction, Boolean force) +0x60
at Huxley.UI.Model!0x0600383f!MYOB.Huxley.UI.Model.Context.CardContext.GetContainerObjectByType(CardType cardType, Int32 id) +0x34
at Huxley.UI.Controllers!0x060021ce!MYOB.Huxley.UI.Controllers.Cards.CardDetailController.GetDataObject() +0x0
at Huxley.UI.Controllers!0x06001177!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.get_DataRecord() +0x33
at Huxley.UI.Forms!0x06003250!MYOB.Huxley.UI.Forms.Cards.DetailContainers.CardDetail.SetupContainer() +0x63
at Huxley.UI.Forms!0x060022ec!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.InitializeContainer(IUIViewPresenter uiPresenter, IController parentController, IUIContext context, EntityInfo eInfo) +0x1e9
at Huxley.UI.Forms!0x06002345!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, String name, IController controller, IUIContext context, EntityInfo eInfo, Boolean visible) +0x228
at Huxley.UI.Forms!0x06002341!MYOB.Huxley.UI.Forms.BaseForms.BaseViewContainer.DynamicContainerLoad(String resourceId, IUIContext context, EntityInfo eInfo) +0xa
at Huxley.UI.Forms!0x06001f7e!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.InitializeForm(UIViewType ViewType, IUIViewPresenter uiViewPresenter, String containerResourceID, IUICompanyFile companyFile, EntityInfo eInfo, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x122
at Huxley.UI.Framework!0x06000175!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.GetForm(UIViewType viewType, EntityInfo eInfo, IUIViewPresenter presenter, Boolean showAsModal, BeginNotificationRefreshMethod refreshMethod) +0x88
at Huxley.UI.Framework!0x06000174!MYOB.Huxley.UI.Framework.Presenter.UIViewFactory.Show(IUIViewPresenter presenter, UIViewType viewType, Boolean showDialog, EntityInfo eInfo, IUIContext context, Boolean visible, BeginNotificationRefreshMethod refreshMethod) +0xaa
at Huxley.UI.Framework!0x06000193!MYOB.Huxley.UI.Framework.Presenter.UIViewPresenter.ShowUIView(UIViewType uiViewType, EntityInfo entityInfo, BeginNotificationRefreshMethod refreshMethod) +0x4a
==========
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4794e958350a4bce99f15e2fa90efdce; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:730d55b190294064af7300df2cd2ea7f; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:8d4a39037e2c4ef1bf5afb679302eaec; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:d48cc9fbb4634284ab69dce446727bdf; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:b48b888bc58044c495ee5394bfd0d2b7; A:1
MODULE: Huxley.UI.Framework => Huxley.UI.Framework, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:ace58851546c43cf9e4ef8256b46c8d5; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2023.10.1.7, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:c7af5ed4047d4bed9e24347483a32b46; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:6124afa4bc7342b581f1f084ae850486; A:2

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

 

  • Hi Willmo1,

     

    Thank you for the information. I've run a script over the file. Please let me know how it goes.

     

     

     

    Please let me know if you need further help.

     

    Kind regards,

    Sai
     

5 Replies

  • Isaiah_C's avatar
    Isaiah_C
    MYOB Moderator

    Hi Willmo1,

     

    Thank you for the post and for letting us know your concern. I appreciate you for providing the error message, and I'm sorry to hear that you're having an issue every time you open an employee card. I'll be more than happy to help you with this. Please provide me with the last four digits of your serial number and the company file ID that can be found by going to Help>>About MYOB AccountRight.

     

     

    Please let me know if you need further help.

     

    Kind regards,

    Sai
     

    • Willmo1's avatar
      Willmo1
      Contributing User

      Thanks, Company file ID is 3

      last 4 digits are 0091

      • Isaiah_C's avatar
        Isaiah_C
        MYOB Moderator

        Hi Willmo1,

         

        Thank you for the information. I've run a script over the file. Please let me know how it goes.

         

         

         

        Please let me know if you need further help.

         

        Kind regards,

        Sai