Thank you for visiting our Partner Zone. This area is an exclusive space for MYOB Partners. Find out how to Partner with MYOB.
September 2020
September 2020
Hi all,
I am trying to delete a pay for an employee. The errors are below. I have since paid the employee however this old transaction needs to go. I am on version 2020.3 and have cleared the cache.
Error 1:
Message:
Value cannot be null.
Parameter name: format
Stack Trace
----------------------------------------
1 : System.ArgumentNullException
----------------------------------------
System.ArgumentNullException: Value cannot be null.
Parameter name: format
at mscorlib!0x0600570f!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x0600571a!System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +0x1b3
at Huxley.Service.Gateway!0x06001880!MYOB.Huxley.Service.Gateway.API.IGatewayService.Dispatch(String name, Object[] arguments)
at Huxley.Service.Proxy!0x06000dc4!MYOB.Huxley.Service.Proxy.Services.ProxyPayEmployeeContainerService.GetStpPayRunStatus(Int32 employeePaymentEventId, String authToken) +0x0
at Huxley.UI.Decorators!0x06002b9b!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIPayEmployeeContainerService.MYOB.Huxley.ApplicationServices.Container.API.IPayEmployeeContainerService.GetStpPayRunStatus(Int32 employeePaymentEventId, String authToken) +0x52
at Huxley.UI.Model!0x06003743!MYOB.Huxley.UI.Model.Context.PayEmployeeContext.GetStpPayRunStatus(Int32 id, String authToken) +0x0
at Huxley.UI.Controllers!0x0600206f!MYOB.Huxley.UI.Controllers.Payroll.ProcessPayroll.PayEmployeeController.GetStpPayRunStatus(String authToken, Boolean checkExisting) +0x42
at Huxley.UI.Forms!0x060026cf!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.PayEmployeeHelper.ValidateStpStatusForDelete() +0x4e
at Huxley.UI.Forms!0x06002712!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.PayEmployee.DeleteOrReverseTransaction() +0xcb
at Huxley.UI.Forms!0x0600270e!MYOB.Huxley.UI.Forms.Payroll.ProcessPayroll.PayEmployee.mnuReverseTransaction_Click(Object sender, EventArgs e) +0x0
at System.Windows.Forms!0x06003e87!System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) +0x0
at System.Windows.Forms!0x06003fc6!System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) +0x17
at Huxley.UI.Controls!0x06000194!MYOB.Huxley.UI.Controls.Standard.StaToolStripItem.OnClick(EventArgs e) +0x128
at System.Windows.Forms!0x06003e46!System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) +0x3b
at System.Windows.Forms!0x06003e4f!System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) +0xc6
at System.Windows.Forms!0x06003e38!System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) +0x46
at System.Windows.Forms!0x06003e37!System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) +0xc9
at System.Windows.Forms!0x06003a6f!System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) +0x6f
at System.Windows.Forms!0x06003c76!System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) +0x0
at System.Windows.Forms!0x06000e58!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
at System.Windows.Forms!0x06000e68!System.Windows.Forms.Control.WndProc(Message& m) +0x66f
at System.Windows.Forms!0x0600334e!System.Windows.Forms.ScrollableControl.WndProc(Message& m) +0x34
at System.Windows.Forms!0x06003aa2!System.Windows.Forms.ToolStrip.WndProc(Message& m) +0xe7
at System.Windows.Forms!0x06003c95!System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) +0x71
at System.Windows.Forms!0x06005505!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
at System.Windows.Forms!0x06005508!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
at System.Windows.Forms!0x06002cda!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25
==========
MODULE: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:631f545a5f9342f0be5b90010c83e66c; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a56616cc9ed9417b89a3e394e7288ea1; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:a12bb4d0c12749d4a196b35fe381c60e; A:1
MODULE: Huxley.UI.Controls => Huxley.UI.Controls, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:1e19c8270db04353a781cca2151752a4; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:6d4cb3c0f0e04c2484ecdb5349ab87c3; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:34d9283e052b4a10b733cdb7e1e2198e; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2020.3.24.318, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:7f8e9bdf0aff4b4b833943760cd39ebc; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:4d345ddba4bf47c1a35326da49e8267a; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:866ba383e67541c196d4b7dac5266de9; A:1
Error 2:
MAPISendMail failed! General MAPI failure [2]
Please advise.
Regards
Allison
Solved! Go to Solution.
September 2020
September 2020
Hello @Astags
Thank you for including the error log. Seeing the "Value cannot be null..." message when attempting to delete/reverse a pay in 2020.3 is something we are currently looking into. In some cases, the deletion cannot occur because the pay in question has been reported to the ATO, and so it needs to be reversed instead. Please refer to this support note to check whether the pay in question needs to be reversed instead. If that is the case, please see if you are able to follow the instructions outlined here.
If however you still receive that error, please let me know if you are using the server edition and if the file you are working on is online or offline, as there is a specific workaround for that situation.
Kind regards,
Emily
MYOB Community Support
September 2020
September 2020
Hi @Emily_B
Thank you for the link to the article. That is exactly why it couldn't be deleted. I have done a reversal pay and this has been accepted in the reporting.
Thanks again for your help with this,
RegardS
Allison
41
|
2511
|
|||
by
duitselectrical
a month ago
2
195
|
2
|
195
|
||
4
|
578
|
|||
31
|
1366
|
|||
1
|
281
|