Recurring sale transaction

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
Highlighted
Experienced User Senadhi
26 Posts
Experienced User
New Zealand
Experienced User

26Posts

12Kudos

0Solutions

Solved: Go to Solution

Recurring sale transaction

Hi

 

I am trying to make a change to one of the recurring sale transactions but I keep getting the following error.

 

AccountRight Application Error Report
=====================================
Application Version: 2018.3.21.2418
Application File Version: 2018.3.21.2418
Incident Id: 0ba7172c-7657-4498-9d28-bb31c35be377
Time: Monday, 8 October 2018 10:02:37 AM

Code:
System.InvalidCastException


Message:
Unable to cast object of type 'MYOB.Huxley.BusinessLayer.Entities.CreateSaleEventFromTemplateAction' to type 'MYOB.Huxley.BusinessLayer.Entities.PromptUserToCreateSaleEventFromTemplateAction'.


Stack Trace
----------------------------------------
1 : System.InvalidCastException
----------------------------------------
System.InvalidCastException: Unable to cast object of type 'MYOB.Huxley.BusinessLayer.Entities.CreateSaleEventFromTemplateAction' to type 'MYOB.Huxley.BusinessLayer.Entities.PromptUserToCreateSaleEventFromTemplateAction'.
at mscorlib!0x060056dd!System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +0x27
at mscorlib!0x060056e8!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!0x0600152b!MYOB.Huxley.Service.Proxy.Services.ProxyRecurringTransactionScheduleContainerService.ProcessContainer(IRecurringTransactionScheduleContainerBase container, IEnumerable`1& results) +0x0
at Huxley.UI.Decorators!0x06000638!MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIRecurringTransactionScheduleContainerService.MYOB.Huxley.ApplicationServices.Container.API.IObjectContainerProcessService<MYOB.Huxley.ApplicationServices.Container.API.IRecurringTransactionScheduleContainerBase>.ProcessContainer(IRecurringTransactionScheduleContainerBase container, IEnumerable`1& results) +0x52
at Huxley.UI.Model!0x060000cc!MYOB.Huxley.UI.Model.Context.Base.UIContextProcessContainer`2.ExecuteProcessContainerWithValidation(TContainerType container, List`1 validationResults) +0x7
at Huxley.UI.Model!0x060000cb!MYOB.Huxley.UI.Model.Context.Base.UIContextProcessContainer`2.InvokeContainerUpdate() +0x3c
at Huxley.UI.Model!0x060000c7!MYOB.Huxley.UI.Model.Context.Base.UIContextProcessContainer`2.ProcessContainerObject() +0x11
at Huxley.UI.Controllers!0x0600008e!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.SaveObjectContainer() +0x19
at Huxley.UI.Controllers!0x06000075!MYOB.Huxley.UI.Controllers.Base.BaseControllerBusinessObject`5.SaveChanges(IEnumerable`1 entitiesToSave) +0x1a
at Huxley.UI.Forms!0x060000e5!MYOB.Huxley.UI.Forms.BaseForms.BaseViewBusinessObject.SaveChanges(IEnumerable`1 entitiesToSave) +0x51
at Huxley.UI.Forms!0x060000e3!MYOB.Huxley.UI.Forms.BaseForms.BaseViewBusinessObject.SaveChanges(IUIObject objectToSave) +0x10
at Huxley.UI.Forms!0x06002ffb!MYOB.Huxley.UI.Forms.RecurringTransaction.RecurringTransactionSchedule.OnOkClicked(ButtonClickedArgs args) +0x0
at Huxley.UI.Forms!0x0600074f!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.CallButtonClicked(Action`1 execute, ButtonClickedArgs args, String buttonText) +0x12
at Huxley.UI.Forms!0x060006cd!MYOB.Huxley.UI.Forms.BaseForms.BaseViewForm.btnOk_Click(Object sender, EventArgs e) +0x32
at System.Windows.Forms!0x06000d73!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19
at DevExpress.XtraEditors.v17.1!0x06000d4f!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e
at DevExpress.XtraEditors.v17.1!0x06000d48!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x1d
at System.Windows.Forms!0x06000e57!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
at System.Windows.Forms!0x06000e67!System.Windows.Forms.Control.WndProc(Message& m) +0x66f
at DevExpress.Utils.v17.1!0x06002708!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e
at DevExpress.XtraEditors.v17.1!0x06000256!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0
at System.Windows.Forms!0x06005501!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
at System.Windows.Forms!0x06005504!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
at System.Windows.Forms!0x06002cd7!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: Huxley.Service.Gateway => Huxley.Service.Gateway, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:3ab077fa6fc547ecb4a3750d39467dfa; A:1
MODULE: Huxley.Service.Proxy => Huxley.Service.Proxy, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:396205b0ceb54c729b29e6928de29e02; A:1
MODULE: Huxley.UI.Controllers => Huxley.UI.Controllers, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:6a8d7ff22f94450dacb0c48a2856ef51; A:1
MODULE: Huxley.UI.Decorators => Huxley.UI.Decorators, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4903adc9e9be4e8d8829b7f41bc3df07; A:1
MODULE: Huxley.UI.Forms => Huxley.UI.Forms, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:890bfc92dcdf4b4f91f159299d223bad; A:1
MODULE: Huxley.UI.Model => Huxley.UI.Model, Version=2018.3.21.2418, Culture=neutral, PublicKeyToken=947f70fecdd4159f; G:4c4a857837104ea8a704cdc065bbbde6; A:1
MODULE: mscorlib => mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:221111bf03b64fcc842ce65afeb03de9; A:2
MODULE: System.Windows.Forms => System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; G:8e9d9235a0bf450c88225892966fb32b; A:1

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

 

1 REPLY 1
MYOB Staff Post RienaP
2,155 Posts
MYOB Staff Post
New Zealand
MYOB Staff Post

2,155Posts

224Kudos

0Solutions

Accepted Solution Solved

Re: Recurring sale transaction

HI @Senadhi,

 

Can you please elaborate the process on how you are changing the transaction from. Are you going to the Lists menu >>Recurring transactions and editing it from there?

 

If you are and are getting this message the try deleting the recurring sale and re-creating that again. I am wondering if that will resolve the issue. 

 

Let us know how you go  Looking forward to hearing from you. 


Regards,
Riena
MYOB Training Specialist
Didn't find your answer here?
Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post