[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7733
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10984

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10984
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7734
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10153

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10153
	Boolean : True

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7735
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9643

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9643
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7736
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9643

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9643
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7737
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10985

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10985
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7738
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10986

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10986
	Boolean : True

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7739
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10389

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10389
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7740
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10987

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10987
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7741
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7742
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10988

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10988
	Boolean : True

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7743
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10989

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10989
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7744
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10990

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10990
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7745
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10991

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10991
	Boolean : True

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7746
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10992

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10992
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7747
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10387

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10387
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7748
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10993

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10993
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7749
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10994

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10994
	Boolean : True

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7750
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10995

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10995
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7751
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10996

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10996
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7752
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10997

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10997
	Boolean : True

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:35:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7753
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10998

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10998
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7754
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10999

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10999
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7755
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11000

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11000
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7756
	Boolean : True

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11001

[General][1401/02/13 05:36:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11001
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7757
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11002

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11002
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7758
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10050

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10050
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7759
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11003

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11003
	Boolean : True

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7760
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11004

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11004
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7761
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11005

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11005
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7762
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10559

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10559
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7763
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7764
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7765
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7766
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7767
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7768
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7769
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7770
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7771
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 250 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7772
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7773
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7774
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7775
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9646

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9646
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7776
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11006

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11006
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7777
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11007

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11007
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7778
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10156

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10156
	Boolean : True

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7779
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11008

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11008
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7780
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11009

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11009
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7781
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10051

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10051
	Boolean : True

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7782
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11010

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11010
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7783
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11011

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11011
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7784
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11012

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11012
	Boolean : True

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7785
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11013

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11013
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7786
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10052

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10052
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7787
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11014

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11014
	Boolean : True

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7788
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 374 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11015

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11015
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7789
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11016

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11016
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7790
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11017

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11017
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7791
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11018

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11018
	Boolean : True

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7792
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11019

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11019
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7793
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11020

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11020
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7794
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10560

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10560
	Boolean : True

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7795
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11021

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11021
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7796
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 374 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11022

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11022
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7797
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11023

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11023
	Boolean : True

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7798
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11024

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11024
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7799
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11025

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11025
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7800
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11026

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11026
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7801
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11027

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11027
	Boolean : True

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7802
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10053

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10053
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7803
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11028

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11028
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7804
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11029

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11029
	Boolean : True

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7805
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11030

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11030
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7806
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11031

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11031
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7807
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11032

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11032
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7808
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11033

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11033
	Boolean : True

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7809
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11034

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11034
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7810
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10054

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10054
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7811
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11035

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11035
	Boolean : True

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7812
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11036

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11036
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7813
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7814
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7815
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7816
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7817
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7818
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7819
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11037

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11037
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7820
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9650

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9650
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7821
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10561

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10561
	Boolean : True

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7822
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 219 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11038

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11038
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 30 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7823
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11039

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11039
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7824
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10055

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10055
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7825
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11040

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11040
	Boolean : True

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7826
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10562

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10562
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7827
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11041

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11041
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7828
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11042

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11042
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7829
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11043

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11043
	Boolean : True

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7830
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11044

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11044
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7831
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11045

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11045
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7832
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11046

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11046
	Boolean : True

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7833
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11047

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11047
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7834
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11048

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11048
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7835
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11049

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11049
	Boolean : True

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7836
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10382

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10382
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7837
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11050

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11050
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7838
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10367

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10367
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7839
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11051

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11051
	Boolean : True

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7840
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11052

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11052
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7841
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11053

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11053
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7842
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11054

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11054
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7843
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11055

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11055
	Boolean : True

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7844
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11056

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11056
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7845
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11057

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11057
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 31 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7846
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10563

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10563
	Boolean : True

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7847
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10380

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10380
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7848
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11058

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11058
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7849
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11059

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11059
	Boolean : True

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7850
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11060

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11060
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7851
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11061

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11061
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7852
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11062

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11062
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7853
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11063

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11063
	Boolean : True

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7854
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10383

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10383
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7855
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7856
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 250 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11064

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11064
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7857
	Boolean : True

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11065

[General][1401/02/13 05:36:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11065
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7858
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11066

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11066
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7859
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11067

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11067
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7860
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11068

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11068
	Boolean : True

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7861
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11069

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11069
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7862
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11070

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11070
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7863
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11071

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11071
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7864
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11072

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11072
	Boolean : True

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7865
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10056

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10056
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7866
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7867
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11073

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11073
	Boolean : True

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7868
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7869
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7870
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7871
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7872
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7873
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7874
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7875
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7876
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7877
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7878
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7879
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7880
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7881
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7882
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9655

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9655
	Boolean : True

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7883
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11074

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11074
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7884
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10057

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10057
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7885
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11075

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11075
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7886
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11076

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11076
	Boolean : True

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7887
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10365

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10365
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7888
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11077

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11077
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7889
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11078

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11078
	Boolean : True

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7890
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11079

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11079
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7891
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11080

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11080
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7892
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11081

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11081
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7893
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11082

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11082
	Boolean : True

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7894
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11083

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11083
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7895
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11084

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11084
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7896
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11085

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11085
	Boolean : True

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7897
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10564

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10564
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7898
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11086

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11086
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7899
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11087

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11087
	Boolean : True

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7900
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11088

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11088
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7901
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10532

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10532
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7902
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11089

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11089
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7903
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11090

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11090
	Boolean : True

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7904
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11091

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11091
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7905
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10565

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10565
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7906
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11092

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11092
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7907
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10566

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10566
	Boolean : True

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7908
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11093

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11093
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7909
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11094

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11094
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7910
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11095

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11095
	Boolean : True

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7911
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10378

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10378
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7912
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10567

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10567
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7913
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11096

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11096
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7914
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11097

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11097
	Boolean : True

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7915
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10568

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10568
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7916
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11098

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11098
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7917
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10379

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10379
	Boolean : True

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7918
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10058

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10058
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7919
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10376

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10376
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7920
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10377

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10377
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7921
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10059

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10059
	Boolean : True

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7922
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10569

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10569
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7923
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11099

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11099
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7924
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11100

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11100
	Boolean : True

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7925
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11101

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11101
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7926
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10570

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10570
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7927
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11102

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11102
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7928
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10060

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10060
	Boolean : True

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7929
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11103

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11103
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7930
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11104

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11104
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7931
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11105

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11105
	Boolean : True

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7932
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11106

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11106
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7933
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11107

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11107
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7934
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7935
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11108

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11108
	Boolean : True

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7936
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10374

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10374
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7937
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 390 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7938
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7939
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7940
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7941
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:53 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7942
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7943
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7944
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7945
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:54 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7946
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11109

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11109
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7947
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7948
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9661

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9661
	Boolean : True

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:55 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7949
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11110

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11110
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7950
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11111

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11111
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7951
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11112

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11112
	Boolean : True

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:56 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7952
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10062

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10062
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7953
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11113

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11113
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7954
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11114

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11114
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7955
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11115

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11115
	Boolean : True

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:57 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7956
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11116

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11116
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7957
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11117

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11117
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7958
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11118

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11118
	Boolean : True

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:58 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7959
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11119

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11119
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7960
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10571

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10571
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7961
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11120

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11120
	Boolean : True

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:36:59 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7962
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11121

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11121
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7963
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10371

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10371
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7964
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11122

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11122
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7965
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11123

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11123
	Boolean : True

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:00 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7966
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11124

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11124
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7967
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11125

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11125
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7968
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11126

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11126
	Boolean : True

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:01 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7969
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11127

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11127
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7970
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11128

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11128
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7971
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10372

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10372
	Boolean : True

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:02 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7972
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11129

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11129
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7973
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11130

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11130
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7974
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10572

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10572
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7975
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10573

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10573
	Boolean : True

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:03 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7976
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10574

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10574
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7977
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11131

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11131
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7978
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11132

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11132
	Boolean : True

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:04 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7979
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10388

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10388
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7980
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10373

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10373
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7981
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11133

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11133
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7982
	Boolean : True

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9664

[General][1401/02/13 05:37:05 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9664
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7983
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9664

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9664
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7984
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9664

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9664
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7985
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9664

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9664
	Boolean : True

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:06 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7986
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11134

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11134
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7987
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 9664

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 9664
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7988
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10363

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10363
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7989
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10533

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10533
	Boolean : True

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:07 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7990
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11135

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11135
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7991
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10384

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10384
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7992
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11136

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11136
	Boolean : True

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:08 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7993
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11137

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11137
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7994
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11138

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11138
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7995
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11139

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11139
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7996
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11140

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11140
	Boolean : True

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:09 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7997
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11141

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11141
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7998
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10575

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10575
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 7999
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11142

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11142
	Boolean : True

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:10 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8000
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11143

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11143
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8001
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11144

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11144
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8002
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11145

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11145
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8003
	Boolean : True

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11146

[General][1401/02/13 05:37:11 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11146
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8004
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11147

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11147
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8005
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11148

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11148
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8006
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10576

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10576
	Boolean : True

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:12 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8007
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10063

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10063
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8008
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11149

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11149
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8009
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11150

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11150
	Boolean : True

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:13 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8010
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11151

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11151
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8011
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11152

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11152
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8012
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10577

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10577
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8013
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11153

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11153
	Boolean : True

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:14 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8014
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11154

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11154
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8015
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11155

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11155
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8016
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11156

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11156
	Boolean : True

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:15 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8017
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11157

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11157
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8018
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11158

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11158
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8019
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11159

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11159
	Boolean : True

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 62 ms
[General][1401/02/13 05:37:16 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8020
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11160

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11160
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8021
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10355

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10355
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8022
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11161

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11161
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8023
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10064

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10064
	Boolean : True

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:17 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8024
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10065

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10065
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8025
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11162

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11162
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8026
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11163

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11163
	Boolean : True

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:18 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8027
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11164

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11164
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8028
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11165

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11165
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8029
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11166

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11166
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8030
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11167

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11167
	Boolean : True

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:19 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8031
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11168

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11168
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8032
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11169

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11169
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8033
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11170

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11170
	Boolean : True

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:20 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8034
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11171

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11171
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8035
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 281 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11172

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11172
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8036
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11173

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11173
	Boolean : True

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:21 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8037
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11174

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11174
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 62 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8038
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11175

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11175
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8039
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11176

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11176
	Boolean : True

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:22 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8040
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11177

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11177
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8041
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11178

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11178
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8042
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11179

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11179
	Boolean : True

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:23 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8043
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11180

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11180
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8044
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11181

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11181
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8045
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11182

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11182
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8046
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11183

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11183
	Boolean : True

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:24 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8047
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11184

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11184
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8048
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11185

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11185
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8049
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11186

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11186
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8050
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11187

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11187
	Boolean : True

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:25 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8051
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11188

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11188
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8052
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11189

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11189
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8053
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11190

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11190
	Boolean : True

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:26 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8054
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10356

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10356
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8055
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10066

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10066
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 62 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8056
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11191

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11191
	Boolean : True

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:27 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8057
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10578

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10578
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8058
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10357

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10357
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8059
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11192

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11192
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8060
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11193

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11193
	Boolean : True

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:28 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8061
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11194

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11194
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8062
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11195

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11195
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8063
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11196

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11196
	Boolean : True

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:29 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8064
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11197

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11197
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8065
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11198

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11198
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 16 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 16 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 14 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 30 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8066
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10354

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10354
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8067
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11199

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11199
	Boolean : True

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:30 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8068
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11200

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11200
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8069
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11201

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11201
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8070
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11202

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11202
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8071
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11203

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11203
	Boolean : True

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:31 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8072
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11204

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11204
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8073
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11205

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11205
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8074
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11206

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11206
	Boolean : True

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:32 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8075
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10579

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10579
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8076
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11207

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11207
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8077
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11208

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11208
	Boolean : True

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:33 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8078
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11209

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11209
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8079
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11210

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11210
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8080
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10534

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10534
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8081
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11211

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11211
	Boolean : True

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:34 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8082
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11212

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11212
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8083
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11213

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11213
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8084
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11214

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11214
	Boolean : True

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:35 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8085
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11215

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11215
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8086
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11216

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11216
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8087
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10580

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10580
	Boolean : True

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:36 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8088
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11217

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11217
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8089
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11218

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11218
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8090
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 484 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11219

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11219
	Boolean : True

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:37 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8091
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11220

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11220
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8092
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 312 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10352

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10352
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8093
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11221

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11221
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8094
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 187 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11222

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11222
	Boolean : True

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:38 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8095
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11223

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11223
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8096
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 359 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11224

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11224
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8097
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11225

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11225
	Boolean : True

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:39 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8098
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11226

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11226
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8099
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10581

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10581
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8100
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11227

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11227
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8101
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11228

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11228
	Boolean : True

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:40 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8102
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11229

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11229
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8103
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11230

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11230
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8104
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11231

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11231
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8105
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11232

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11232
	Boolean : True

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:41 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8106
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11233

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11233
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8107
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11234

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11234
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8108
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11235

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11235
	Boolean : True

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:42 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8109
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11236

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11236
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8110
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11237

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11237
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8111
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11238

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11238
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8112
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11239

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11239
	Boolean : True

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:43 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8113
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10350

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10350
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8114
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11240

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11240
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8115
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11241

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11241
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8116
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11242

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11242
	Boolean : True

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:44 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8117
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11243

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11243
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8118
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11244

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11244
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8119
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11245

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11245
	Boolean : True

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:45 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8120
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11246

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11246
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8121
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11247

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11247
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8122
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 265 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11248

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11248
	Boolean : True

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:46 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8123
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11249

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11249
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8124
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11250

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11250
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8125
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 328 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11251

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11251
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8126
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 10067

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 10067
	Boolean : True

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:47 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8127
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 249 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11252

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11252
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8128
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11253

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11253
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8129
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11254

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11254
	Boolean : True

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:48 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8130
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11255

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11255
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8131
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11256

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11256
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 31 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 46 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8132
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 343 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11257

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11257
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8133
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11258

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11258
	Boolean : True

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:49 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8134
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11259

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11259
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8135
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 296 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11260

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11260
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8136
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11261

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11261
	Boolean : True

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:50 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8137
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11262

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11262
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 16 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8138
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 203 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11263

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11263
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8139
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 234 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11264

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11264
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8140
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11265

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11265
	Boolean : True

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 15 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IInvoiceManagementService' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' fired
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IClosingOperationBusiness',Method='HandleClosingOperationDataChanged'
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	ClosingOperationDataChangedEventArgs : SG.General.ClosingOperationIntermediate.Common.ClosingOperationDataChangedEventArgs

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.IFiscalYearService.GetAllFiscalYears

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchAll 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.IFiscalYearService.GetAllFiscalYears 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 1

[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Framework.FiscalYearManagement.Common.DsFiscalYear, SG.Framework.FiscalYearManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.FiscalYearManagement.Common.IClosingOperationBusiness.HandleClosingOperationDataChanged 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'ClosingOperationDataChanged' from service 'IClosingOperationAction' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Sales.InvoiceManagement.Common.IInvoiceManagementService.HandleSalesDocSaveEventForFiscalYear 0 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Exception in event handler: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> SG.Framework.Exceptions.SgException: به دليل بسته شدن سال مالي 1400 قادر به تغيير اطلاعات مشتريان و فروش نمي باشيد
   at SG.Framework.FiscalYearManagement.Business.ClosingOperationBusiness.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.InvocationHandleClosingOperationDataChanged_4.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IClosingOperationBusinessProxy7a5918c6bd6843578bb270508ede2c61.HandleClosingOperationDataChanged(Object sender, ClosingOperationDataChangedEventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
   at SG.Framework.Eventing.BusinessEvent.HandlerMethod(Object sender, EventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at SG.Sales.InvoiceManagement.Business.InvoiceManagementService.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.InvocationHandleSalesDocSaveEventForFiscalYear_15.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at SG.Framework.Service.eval_ᜀ.eval_ᜀ(IInvocation A_0)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at IInvoiceManagementServiceProxy0bb42e7be1f14b8ebcc58231f1243984.HandleSalesDocSaveEventForFiscalYear(Object sender, EventArgs e)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at SG.Framework.Eventing.ServiceEventHandler.Invoke(Object sender, EventArgs e)
   at SG.Framework.Eventing.BusinessEvent.Handle(EventArgs eventArgs, Boolean invokeAdvisors)
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' firing finished
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Rollback Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete 31 ms
[General][1401/02/13 05:37:51 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 8141
	Boolean : True

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 218 ms
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem
Arguments:
	Int32 : 11266

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID
Arguments:
	Int32 : 11266
	Boolean : True

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Framework.Business.IBaseBusiness`1[[SG.Accounting.VoucherManagement.Common.DsVoucher, SG.Accounting.VoucherManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].FetchByID 0 ms
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Accounting.VoucherManagement.Common.IVoucherManagementService.IsHavingVoucherItemNotRelatedToOtherSystem 0 ms
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [Delete][SG.Framework.Business.IBaseBusiness`1[SG.Sales.InvoiceManagement.Common.DsInvoice]]
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Framework.Business.IBaseBusiness`1[[SG.Sales.InvoiceManagement.Common.DsInvoice, SG.Sales.InvoiceManagement.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Delete
Arguments:
	DsInvoice : SG.Sales.InvoiceManagement.Common.DsInvoice

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event 'BeforeDeletingEntity' from service 'IInvoiceBusiness' fired
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Commit Tran [BeforeDeletingInvoice][SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness]
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.Inventory.InventoryOperations.Common.IInventoryDeliveryBusiness.BeforeDeletingInvoice 0 ms
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='IInventoryDeliveryBusiness',Method='BeforeDeletingInvoice'
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Begin: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice
Arguments:
	BusinessEvent : SG.Framework.Eventing.BusinessEvent
	EntityEventArgs`1 : SG.Framework.Eventing.EntityEventArgs`1[SG.Sales.InvoiceManagement.Common.DsInvoice]

[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] End: SG.PointOfSale.InvoiceManagement.Common.ISettlementBusiness.BeforeChangeInvoice 0 ms
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Finished:Service='ISettlementBusiness',Method='BeforeChangeInvoice'
[General][1401/02/13 05:37:52 ب.ظ]: [SEPIDAR-SRV][5.6.1] Event handler Started:Service='IInvoiceManagementService',Method='HandleSalesDocSaveEventForFiscalYear'
